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

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

. ${top_srcdir}/test/scripts/testutils.sh

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