summaryrefslogtreecommitdiff
path: root/test/pinning13.test
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2013-09-06 14:21:59 +0300
committerTimo Teräs <timo.teras@iki.fi>2013-09-06 14:21:59 +0300
commit462bb3b8d3e9e88369e385ab770020e3ab20b041 (patch)
tree0b13c6b5bcd56a3f7e8ed762e0530edb2083dc98 /test/pinning13.test
parent0fe8507f9d9fbb2843f5bb6638abd448023a9be9 (diff)
downloadapk-tools-462bb3b8d3e9e88369e385ab770020e3ab20b041.tar.gz
apk-tools-462bb3b8d3e9e88369e385ab770020e3ab20b041.tar.bz2
apk-tools-462bb3b8d3e9e88369e385ab770020e3ab20b041.tar.xz
apk-tools-462bb3b8d3e9e88369e385ab770020e3ab20b041.zip
solver: if pinning is specified, it overrides preferred repos
add also a test case for this
Diffstat (limited to 'test/pinning13.test')
-rw-r--r--test/pinning13.test7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/pinning13.test b/test/pinning13.test
new file mode 100644
index 0000000..54ecba3
--- /dev/null
+++ b/test/pinning13.test
@@ -0,0 +1,7 @@
+@ARGS
+--test-repo pinning-basic.repo
+--test-repo testing:pinning-overlay1.repo
+add samever@testing
+@EXPECT
+(1/1) Installing samever@testing (10)
+OK: 0 MiB in 0 packages