summaryrefslogtreecommitdiff
path: root/test/provides9.test
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2017-11-02 16:31:50 +0000
committerWilliam Pitcock <nenolod@dereferenced.org>2017-11-02 16:31:50 +0000
commit0a17a648db0e9df61f9bea9d5be292a98106dc6a (patch)
tree5c4157992b50e70a16644094d2aa42c7dd9ecb93 /test/provides9.test
parent9165aa3894bcf19f36be16d733f75eb997becd4f (diff)
downloadapk-tools-0a17a648db0e9df61f9bea9d5be292a98106dc6a.tar.gz
apk-tools-0a17a648db0e9df61f9bea9d5be292a98106dc6a.tar.bz2
apk-tools-0a17a648db0e9df61f9bea9d5be292a98106dc6a.tar.xz
apk-tools-0a17a648db0e9df61f9bea9d5be292a98106dc6a.zip
solver: only select a default if there is at least one provider with a declared provider_priority
Diffstat (limited to 'test/provides9.test')
-rw-r--r--test/provides9.test9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/provides9.test b/test/provides9.test
new file mode 100644
index 0000000..f85a367
--- /dev/null
+++ b/test/provides9.test
@@ -0,0 +1,9 @@
+@ARGS
+--test-repo provides.repo
+add conflicted-provider
+@EXPECT
+ERROR: unsatisfiable constraints:
+ conflicted-provider (virtual):
+ provided by: conflicted-provider-a
+ conflicted-provider-b
+ required by: world[conflicted-provider]