summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2012-02-28 09:39:35 +0200
committerTimo Teräs <timo.teras@iki.fi>2012-02-28 09:39:35 +0200
commit536c21979b59a10592c7be0674be4c88a97e8d83 (patch)
tree5ba983c2ad2970bce10aa1153711a7c284f621a2 /test
parentb7a22e555f7d287edec0ae7c816de16ca74d2941 (diff)
downloadapk-tools-536c21979b59a10592c7be0674be4c88a97e8d83.tar.bz2
apk-tools-536c21979b59a10592c7be0674be4c88a97e8d83.tar.xz
solver: allow multiple packages with same virtual provides
ref #574
Diffstat (limited to 'test')
-rw-r--r--test/provides.repo6
-rw-r--r--test/provides4.test4
2 files changed, 5 insertions, 5 deletions
diff --git a/test/provides.repo b/test/provides.repo
index 73875f4..2e4c979 100644
--- a/test/provides.repo
+++ b/test/provides.repo
@@ -31,14 +31,12 @@ P:server-a
V:1
S:1
I:1
-p:theservice
-D:!theservice
+p:theservice=1
C:Q1eVpkasfqZAukAXFYbgwt444EEEe=
P:server-b
V:1
S:1
I:1
-p:theservice
-D:!theservice
+p:theservice=2
diff --git a/test/provides4.test b/test/provides4.test
index daf6386..6588926 100644
--- a/test/provides4.test
+++ b/test/provides4.test
@@ -2,4 +2,6 @@
--test-repo provides.repo
add mymailreader mailreadplus
@EXPECT
-
+(1/2) Installing mymailreader (1)
+(2/2) Installing mailreadplus (1)
+OK: 0 MiB in 0 packages