summaryrefslogtreecommitdiff
path: root/test/scripts/light-system-test-prepare-merge-takeover.sh
blob: 3bb5ad25986e2e18fffbc2aa07f45bc7a9a0c146 (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