summaryrefslogtreecommitdiff
path: root/test/pinning10.test
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2012-02-24 16:27:51 +0200
committerTimo Teräs <timo.teras@iki.fi>2012-02-24 16:27:51 +0200
commit97d44b5a002b61c7b95303bb8616f1caa6556bca (patch)
tree8adf9b1e3aa2df4628c2c7fc563f83b48a93feb5 /test/pinning10.test
parent1c1914344edfabfe24315638566944caff8536b5 (diff)
downloadapk-tools-97d44b5a002b61c7b95303bb8616f1caa6556bca.tar.gz
apk-tools-97d44b5a002b61c7b95303bb8616f1caa6556bca.tar.bz2
apk-tools-97d44b5a002b61c7b95303bb8616f1caa6556bca.tar.xz
apk-tools-97d44b5a002b61c7b95303bb8616f1caa6556bca.zip
solver: unallowed pinning is worse than changing installed package
Diffstat (limited to 'test/pinning10.test')
-rw-r--r--test/pinning10.test10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/pinning10.test b/test/pinning10.test
new file mode 100644
index 0000000..31a01c2
--- /dev/null
+++ b/test/pinning10.test
@@ -0,0 +1,10 @@
+@ARGS
+--test-repo basic.repo
+--test-repo testing:pinning.repo
+--test-instdb pinning.installed
+--test-world "a@testing"
+add a
+@EXPECT
+(1/2) Downgrading a (3 -> 2)
+(2/2) Purging c (3)
+OK: 0 MiB in 3 packages