summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2014-05-19 08:49:55 +0300
committerTimo Teräs <timo.teras@iki.fi>2014-05-19 08:49:55 +0300
commit2c4f6bb5031636ccb87c340efd0ad6d24912cab0 (patch)
tree41a2c6e0c7714479a0b315311d336f550a7ac672 /test
parent1e36692a8aee88564b19e6855febd91b4feea5eb (diff)
downloadapk-tools-2c4f6bb5031636ccb87c340efd0ad6d24912cab0.tar.gz
apk-tools-2c4f6bb5031636ccb87c340efd0ad6d24912cab0.tar.bz2
apk-tools-2c4f6bb5031636ccb87c340efd0ad6d24912cab0.tar.xz
apk-tools-2c4f6bb5031636ccb87c340efd0ad6d24912cab0.zip
del: allow deletion of world dependency when it is not installed
this happens e.g. after tmpfs boot when not all packages where available: the dependency is in world, but not installed.
Diffstat (limited to 'test')
-rw-r--r--test/basic15.test7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/basic15.test b/test/basic15.test
new file mode 100644
index 0000000..382416c
--- /dev/null
+++ b/test/basic15.test
@@ -0,0 +1,7 @@
+@ARGS
+--test-repo basic.repo
+--test-instdb basic.installed
+--test-world "a b c"
+del c
+@EXPECT
+OK: 0 MiB in 2 packages