diff options
Diffstat (limited to 'test/scripts/light-system-test-prepare-redistribute-frontend.sh')
-rwxr-xr-x | test/scripts/light-system-test-prepare-redistribute-frontend.sh | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/test/scripts/light-system-test-prepare-redistribute-frontend.sh b/test/scripts/light-system-test-prepare-redistribute-frontend.sh index c9a39a1..00d2070 100755 --- a/test/scripts/light-system-test-prepare-redistribute-frontend.sh +++ b/test/scripts/light-system-test-prepare-redistribute-frontend.sh @@ -3,13 +3,11 @@ set -o nounset set -o errexit -SOFTHSM=/usr/local/bin/softhsm2-util -INSTDIR=../catlfish -PREFIX=.. +top_srcdir=$(cd $(dirname $0)/../..; pwd) -. ./test.shvars +. ${top_srcdir}/test/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 +mv machine/machine-1 machine/machine-1-down +mkdir -p machine/machine-1/db +touch machine/machine-1/db/index +touch machine/machine-1/db/newentries |