aboutsummaryrefslogtreecommitdiffstats
path: root/test/provides7.test
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2013-06-14 21:37:38 +0300
committerTimo Teräs <timo.teras@iki.fi>2013-06-14 21:37:38 +0300
commitac0c7457c26dd4424ec6282293f3ebbcc1e63886 (patch)
tree15eb440e00ee23448516055787631c58c5ec9431 /test/provides7.test
parent56b623b9e21c1dddffaaa37cfb4aeaca27917cbe (diff)
downloadapk-tools-ac0c7457c26dd4424ec6282293f3ebbcc1e63886.tar.bz2
apk-tools-ac0c7457c26dd4424ec6282293f3ebbcc1e63886.tar.xz
errors: detect self-conflicts properly
and add the provided version information to the conflicts. fixes the final test case that was broken. hooray.
Diffstat (limited to 'test/provides7.test')
-rw-r--r--test/provides7.test5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/provides7.test b/test/provides7.test
index a7ac5ed..b654819 100644
--- a/test/provides7.test
+++ b/test/provides7.test
@@ -2,3 +2,8 @@
--test-repo provides.repo
add selfconflicting
@EXPECT
+ERROR: unsatisfiable constraints:
+ selfconflicting-1:
+ conflicts: selfconflicting-1[selfprovided=2]
+ selfconflicting-1[selfprovided=3]
+ satisfies: world[selfconflicting]