summaryrefslogtreecommitdiff
path: root/test/provides11.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/provides11.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/provides11.test')
-rw-r--r--test/provides11.test11
1 files changed, 11 insertions, 0 deletions
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]