diff options
author | Magnus Ahltorp <map@kth.se> | 2017-03-01 17:04:39 +0100 |
---|---|---|
committer | Magnus Ahltorp <map@kth.se> | 2017-03-02 01:09:18 +0100 |
commit | e67187c38e4e5a97ab971554d8acf9466e9775c2 (patch) | |
tree | 5d7bad771d815f00a2df57433423b9398a82a19b /test/scripts/light-system-test-prepare-merge-takeover.sh | |
parent | 163fdaeaf8fc1bc43923420309ba4a6b3ef51e11 (diff) |
Refactor tests
Diffstat (limited to 'test/scripts/light-system-test-prepare-merge-takeover.sh')
-rwxr-xr-x | test/scripts/light-system-test-prepare-merge-takeover.sh | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/test/scripts/light-system-test-prepare-merge-takeover.sh b/test/scripts/light-system-test-prepare-merge-takeover.sh index 057af3d..f27b7f9 100755 --- a/test/scripts/light-system-test-prepare-merge-takeover.sh +++ b/test/scripts/light-system-test-prepare-merge-takeover.sh @@ -7,9 +7,8 @@ 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 -mkdir mergedb-secondary -touch mergedb-secondary/logorder -printf 0 > mergedb-secondary/verifiedsize +mv machine/merge-1/db/sth machine/merge-1/db/sth.OFF + +${top_srcdir}/tools/initlog.py --config machine/merge-2/catlfish-test.cfg --localconfig machine/merge-2/catlfish-test-local-merge-2.cfg --promote-secondary + +cp machine/merge-2/catlfish-test-local-merge-2.cfg current-merge-localconfig.cfg |