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

set -o nounset
set -o errexit

top_srcdir=$(cd $(dirname $0)/../..; pwd)

. ${top_srcdir}/test/test.shvars

mv mergedb mergedb-down
mv mergedb-secondary mergedb
mkdir mergedb-secondary
touch mergedb-secondary/logorder
printf 0 > mergedb-secondary/verifiedsize