summaryrefslogtreecommitdiffstats
path: root/test/test8.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/test8.sh')
-rwxr-xr-xtest/test8.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/test8.sh b/test/test8.sh
new file mode 100755
index 0000000..8a1f0da
--- /dev/null
+++ b/test/test8.sh
@@ -0,0 +1,7 @@
+#!/bin/sh -e
+
+# desc: test if upgrade works when package is missing in repo
+
+$APK add --root $ROOT --initdb --repository $PWD/repo1 test-a
+
+$APK upgrade --root $ROOT