summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/provides.repo14
-rw-r--r--test/provides10.test11
-rw-r--r--test/provides11.test11
3 files changed, 36 insertions, 0 deletions
diff --git a/test/provides.repo b/test/provides.repo
index 69f18cb..8776803 100644
--- a/test/provides.repo
+++ b/test/provides.repo
@@ -83,3 +83,17 @@ V:0.1
S:1
I:1
p:conflicted-provider
+
+C:Q1EyN5AdpAOBJWKMR89ppC66ccccj=
+P:conflicted-dep
+V:0.1
+S:1
+I:1
+D:conflicted-provider
+
+C:Q1EyN5AdpAOBJWKMR89ppC66ddddj=
+P:conflicted-parent
+V:0.1
+S:1
+I:1
+D:conflicted-dep
diff --git a/test/provides10.test b/test/provides10.test
new file mode 100644
index 0000000..4485543
--- /dev/null
+++ b/test/provides10.test
@@ -0,0 +1,11 @@
+
+@ARGS
+--test-repo provides.repo
+add conflicted-dep
+@EXPECT
+ERROR: unsatisfiable constraints:
+ conflicted-provider (virtual):
+ provided by: conflicted-provider-a
+ conflicted-provider-b
+ required by:
+ conflicted-dep-0.1[conflicted-provider]
diff --git a/test/provides11.test b/test/provides11.test
new file mode 100644
index 0000000..47af3b2
--- /dev/null
+++ b/test/provides11.test
@@ -0,0 +1,11 @@
+
+@ARGS
+--test-repo provides.repo
+add conflicted-parent
+@EXPECT
+ERROR: unsatisfiable constraints:
+ conflicted-provider (virtual):
+ provided by: conflicted-provider-a
+ conflicted-provider-b
+ required by:
+ conflicted-dep-0.1[conflicted-provider]