summaryrefslogtreecommitdiff
path: root/test/selfupgrade4.test
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2016-07-22 11:13:33 +0300
committerTimo Teräs <timo.teras@iki.fi>2016-07-22 11:13:33 +0300
commitac0a9659d1c86e9c0b4234a16486e084bcb0a555 (patch)
tree6daddc204773eaf3007c672de53109278e3cf0b4 /test/selfupgrade4.test
parent22434a5ff03db80f329c90fc628f3332f87698d4 (diff)
downloadapk-tools-ac0a9659d1c86e9c0b4234a16486e084bcb0a555.tar.gz
apk-tools-ac0a9659d1c86e9c0b4234a16486e084bcb0a555.tar.bz2
apk-tools-ac0a9659d1c86e9c0b4234a16486e084bcb0a555.tar.xz
apk-tools-ac0a9659d1c86e9c0b4234a16486e084bcb0a555.zip
upgrade: improve self upgrade functionality a bit
trigger it only if apk-tools can be upgrade, add test cases
Diffstat (limited to 'test/selfupgrade4.test')
-rw-r--r--test/selfupgrade4.test7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/selfupgrade4.test b/test/selfupgrade4.test
new file mode 100644
index 0000000..1b941ef
--- /dev/null
+++ b/test/selfupgrade4.test
@@ -0,0 +1,7 @@
+@ARGS
+--test-repo selfupgrade.repo
+--test-instdb selfupgrade3.installed
+--test-world "apk-tools"
+--self-upgrade-only
+upgrade
+@EXPECT