summaryrefslogtreecommitdiff
path: root/test/provides10.test
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2018-01-02 04:42:43 +0000
committerWilliam Pitcock <nenolod@dereferenced.org>2018-01-02 04:42:43 +0000
commit467ba0cee0d1508babcb8bf3d8d97c30ca350ea6 (patch)
treeccc0b995bd1f0bc0c18d624b85ba356bc19feaff /test/provides10.test
parent7b3023ec496275be3b05643f03633acf5f6b0b94 (diff)
downloadapk-tools-467ba0cee0d1508babcb8bf3d8d97c30ca350ea6.tar.gz
apk-tools-467ba0cee0d1508babcb8bf3d8d97c30ca350ea6.tar.bz2
apk-tools-467ba0cee0d1508babcb8bf3d8d97c30ca350ea6.tar.xz
apk-tools-467ba0cee0d1508babcb8bf3d8d97c30ca350ea6.zip
test: add testcases to ensure provider collisions generate an error
Diffstat (limited to 'test/provides10.test')
-rw-r--r--test/provides10.test11
1 files changed, 11 insertions, 0 deletions
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]