summaryrefslogtreecommitdiff
path: root/test/scripts/light-system-test-prepare-merge-takeover.sh
blob: c292c9b002f127ca3d9966705d14695eca1f2900 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

set -o nounset
set -o errexit

SOFTHSM=/usr/local/bin/softhsm2-util
INSTDIR=../catlfish
PREFIX=..

. 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