diff options
author | Magnus Ahltorp <map@kth.se> | 2016-10-13 15:10:20 +0200 |
---|---|---|
committer | Magnus Ahltorp <map@kth.se> | 2016-10-13 15:16:29 +0200 |
commit | c1dfe32e2ba948e62535102ab6dbafa60c3c6eda (patch) | |
tree | f645ce96cb3ec311115f3a4bba410132ca1dc2e9 /test/scripts/light-system-test-prepare-merge-takeover.sh | |
parent | 4213c3f7987b5f2a01fb12049ae7d5b84645640d (diff) |
Make tests run independently from cwdlarge-tests3
Diffstat (limited to 'test/scripts/light-system-test-prepare-merge-takeover.sh')
-rwxr-xr-x | test/scripts/light-system-test-prepare-merge-takeover.sh | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/test/scripts/light-system-test-prepare-merge-takeover.sh b/test/scripts/light-system-test-prepare-merge-takeover.sh index 3bb5ad2..5529805 100755 --- a/test/scripts/light-system-test-prepare-merge-takeover.sh +++ b/test/scripts/light-system-test-prepare-merge-takeover.sh @@ -3,14 +3,12 @@ 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/mergedb ${INSTDIR}/tests/mergedb-down -mv ${INSTDIR}/tests/mergedb-secondary ${INSTDIR}/tests/mergedb -mkdir ${INSTDIR}/tests/mergedb-secondary -touch ${INSTDIR}/tests/mergedb-secondary/logorder -printf 0 > ${INSTDIR}/tests/mergedb-secondary/verifiedsize +mv mergedb mergedb-down +mv mergedb-secondary mergedb +mkdir mergedb-secondary +touch mergedb-secondary/logorder +printf 0 > mergedb-secondary/verifiedsize |