summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-06-15 19:18:36 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-06-15 19:18:36 +0000
commitac3d149cdd8d66d0639d565a29cff2aecb050afd (patch)
tree99859c8c69865ee65ff43330cad85c088e4e22aa /test
parent92533beae08fb440625f7ef79ed19226a9bc2e71 (diff)
downloadapk-tools-ac3d149cdd8d66d0639d565a29cff2aecb050afd.tar.bz2
apk-tools-ac3d149cdd8d66d0639d565a29cff2aecb050afd.tar.xz
test: check if upgrade works when package is missing in repo
Diffstat (limited to 'test')
-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