summaryrefslogtreecommitdiff
path: root/test/scripts/light-system-test-prepare-redistribute-frontend.sh
diff options
context:
space:
mode:
authorMagnus Ahltorp <map@kth.se>2016-10-05 10:06:16 +0200
committerMagnus Ahltorp <map@kth.se>2016-10-05 10:06:16 +0200
commit83f6bea56508cd7afe9975aff79880f252371455 (patch)
treed385ed3cb38cc4a648085f401972896bc3051f5f /test/scripts/light-system-test-prepare-redistribute-frontend.sh
parentde5a2c656e7b75b44a39e2f3865c078a4937c338 (diff)
Move tests to shell scriptslarge-tests
Diffstat (limited to 'test/scripts/light-system-test-prepare-redistribute-frontend.sh')
-rwxr-xr-xtest/scripts/light-system-test-prepare-redistribute-frontend.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/scripts/light-system-test-prepare-redistribute-frontend.sh b/test/scripts/light-system-test-prepare-redistribute-frontend.sh
new file mode 100755
index 0000000..2a98674
--- /dev/null
+++ b/test/scripts/light-system-test-prepare-redistribute-frontend.sh
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+set -o nounset
+set -o errexit
+
+SOFTHSM=/usr/local/bin/softhsm2-util
+INSTDIR=../catlfish
+PREFIX=..
+
+. test.shvars
+
+mv ${INSTDIR}/tests/machine/machine-1 ${INSTDIR}/tests/machine/machine-1-down
+mkdir -p ${INSTDIR}/tests/machine/machine-1/db
+touch ${INSTDIR}/tests/machine/machine-1/db/index
+touch ${INSTDIR}/tests/machine/machine-1/db/newentries