From 7f381832810db733b30c20e54ebc93d25ac80380 Mon Sep 17 00:00:00 2001 From: Rein Tollevik Date: Mon, 15 Nov 2010 12:20:06 +0000 Subject: [PATCH] Added bdb/hdb checkpoint directive. Fixed typo. --- tests/scripts/test061-syncreplication-initiation | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/tests/scripts/test061-syncreplication-initiation b/tests/scripts/test061-syncreplication-initiation index 1a7555f45d..dc0914901a 100755 --- a/tests/scripts/test061-syncreplication-initiation +++ b/tests/scripts/test061-syncreplication-initiation @@ -23,7 +23,7 @@ echo "Running defines.sh" . $SRCDIR/scripts/defines.sh -test "$INITIATION_RACE_TESTS" = "x" && INITIATION_RACE_TESTS=1 +test "x$INITIATION_RACE_TESTS" = "x" && INITIATION_RACE_TESTS=1 if test $SYNCPROV = syncprovno; then echo "Syncrepl provider overlay not available, test skipped" @@ -60,6 +60,11 @@ KILLPIDS= $SLAPPASSWD -g -n >$CONFIGPWF +case "$BACKEND" in + bdb|hdb) olcDbCheckpoint="olcDbCheckpoint";; + *) olcDbCheckpoint="# olcDbCheckpoint";; +esac + echo "Initializing server configurations" for dir in $DIRS; do $SLAPADD -F $dir/slapd.d -n 0 <