summaryrefslogtreecommitdiff
path: root/test/basic11.test
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2013-06-12 17:00:43 +0300
committerTimo Teräs <timo.teras@iki.fi>2013-06-13 18:22:00 +0300
commit25ff68a87e3264b6dfdc846823d4912b4dd870b2 (patch)
treecd0d63eba30d233f52d5bed6e8a89cb64bf7de82 /test/basic11.test
parent59678309ea7350a159a3f5ee61c2fb5218dee6d5 (diff)
downloadapk-tools-25ff68a87e3264b6dfdc846823d4912b4dd870b2.tar.gz
apk-tools-25ff68a87e3264b6dfdc846823d4912b4dd870b2.tar.bz2
apk-tools-25ff68a87e3264b6dfdc846823d4912b4dd870b2.tar.xz
apk-tools-25ff68a87e3264b6dfdc846823d4912b4dd870b2.zip
solver: prune broken world dependencies with --force
mostly useful for reboot, when all packages are not available.
Diffstat (limited to 'test/basic11.test')
-rw-r--r--test/basic11.test8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/basic11.test b/test/basic11.test
new file mode 100644
index 0000000..24f7e1e
--- /dev/null
+++ b/test/basic11.test
@@ -0,0 +1,8 @@
+@ARGS
+--test-repo basic.repo
+--force
+add a broken not-in-repo
+@EXPECT
+(1/2) Installing b (2)
+(2/2) Installing a (2)
+OK: 0 MiB in 0 packages