summaryrefslogtreecommitdiff
path: root/test/upgrade2.test
diff options
context:
space:
mode:
authornrybowski <nicolas.rybowski@student.uclouvain.be>2019-12-10 02:14:49 +0100
committerTimo Teräs <timo.teras@iki.fi>2019-12-12 13:47:11 +0200
commit695a2f8231f11f690ba96d6c4b537e22dd6571fd (patch)
tree4ebffd0f2221d09ef40857937a11138a13f92d8b /test/upgrade2.test
parentcfa8b736f897b9bf8906dd38538f6058a5ad2ba6 (diff)
downloadapk-tools-695a2f8231f11f690ba96d6c4b537e22dd6571fd.tar.gz
apk-tools-695a2f8231f11f690ba96d6c4b537e22dd6571fd.tar.bz2
apk-tools-695a2f8231f11f690ba96d6c4b537e22dd6571fd.tar.xz
apk-tools-695a2f8231f11f690ba96d6c4b537e22dd6571fd.zip
upgrade: implement --ignore to exclude some packages from upgrade
Diffstat (limited to 'test/upgrade2.test')
-rw-r--r--test/upgrade2.test7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/upgrade2.test b/test/upgrade2.test
new file mode 100644
index 0000000..0bbd262
--- /dev/null
+++ b/test/upgrade2.test
@@ -0,0 +1,7 @@
+@ARGS
+--test-repo upgrade.repo
+--test-instdb upgrade.installed
+--test-world app
+upgrade --ignore app
+@EXPECT
+OK: 0 MiB in 2 packages