#!/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