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"
$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 <<EOF
objectClass: olc${BACKEND}Config
olcDatabase: {1}$BACKEND
olcDbDirectory: ./db
+$olcDbCheckpoint: 1024 5
olcSuffix: $BASEDN
olcRootDN: $MANAGERDN
olcRootPW: $PASSWD
objectClass: olc${BACKEND}Config
olcDatabase: {1}$BACKEND
olcDbDirectory: ./db
+$olcDbCheckpoint: 1024 5
olcSuffix: $BASEDN
olcRootDN: $MANAGERDN
olcRootPW: $PASSWD
objectClass: olc${BACKEND}Config
olcDatabase: {1}$BACKEND
olcDbDirectory: ./db
+$olcDbCheckpoint: 1024 5
olcSuffix: $BASEDN
olcRootDN: $MANAGERDN
olcRootPW: $PASSWD