]> git.sur5r.net Git - openldap/blobdiff - tests/scripts/test001-slapadd
This test uses syncrepl persist, but ldbm doesn't support that. Exclude it.
[openldap] / tests / scripts / test001-slapadd
index df82d1fee85f070d649eeb98a08ac2506a765149..9236f28d3b1cd2caf8e7039df8ecf08306ea214e 100755 (executable)
@@ -16,7 +16,7 @@
 echo "running defines.sh"
 . $SRCDIR/scripts/defines.sh
 
-mkdir -p $TESTRUN $DBDIR1
+mkdir -p $TESTDIR $DBDIR1
 
 echo "Running slapadd to build slapd database..."
 . $CONFFILTER $BACKEND $MONITORDB < $CONF > $ADDCONF
@@ -37,6 +37,8 @@ if test $WAIT != 0 ; then
 fi
 KILLPIDS="$PID"
 
+sleep 1
+
 echo "Using ldapsearch to retrieve all the entries..."
 for i in 0 1 2 3 4 5; do
        $LDAPSEARCH -S "" -b "$BASEDN" -h $LOCALHOST -p $PORT1 > $SEARCHOUT 2>&1