summaryrefslogtreecommitdiffstats
path: root/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
parent1c1914344edfabfe24315638566944caff8536b5 (diff)
solver: unallowed pinning is worse than changing installed package
Diffstat (limited to '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