]> git.sur5r.net Git - openldap/blobdiff - tests/scripts/test006-acls
Use -h URL, not -p port
[openldap] / tests / scripts / test006-acls
index ffcc43c3205857aa15f600ecabf4cbe234f3b4eb..5a97ccc53168471e14f3e15dec11c729c8bea7da 100755 (executable)
@@ -9,6 +9,10 @@ BACKEND=ldbm
 if test $# -ge 1 ; then
        BACKEND=$1; shift
 fi
+WAIT=0
+if test $# -ge 1 ; then
+       WAIT=1; shift
+fi
 
 echo "running defines.sh"
 . $SRCDIR/scripts/defines.sh
@@ -29,6 +33,10 @@ fi
 echo "Starting slapd on TCP/IP port $PORT..."
 $SLAPD -f $DBCONF -h $MASTERURI -d $LVL $TIMING > $MASTERLOG 2>&1 &
 PID=$!
+if test $WAIT != 0 ; then
+    echo PID $PID
+    read foo
+fi
 
 echo "Testing slapd access control..."
 for i in 0 1 2 3 4 5; do