]> git.sur5r.net Git - openldap/blobdiff - tests/scripts/test001-slapadd
Extend TLS/SSL detection for use RSAref if necessary.
[openldap] / tests / scripts / test001-slapadd
index 64deb66b875b4b2d16e14c264d1d985fd8d35a2b..6ab1a5c52b7034a8c5be920560baa1caa772d995 100755 (executable)
@@ -5,10 +5,13 @@ if [ $# -eq 0 ]; then
 else
        SRCDIR=$1; shift
 fi
+if [ $# -eq 1 ]; then
+       BDB2=$1; shift
+fi
 
-echo "running defines.sh $SRCDIR"
+echo "running defines.sh $SRCDIR $BDB2"
 
-. $SRCDIR/scripts/defines.sh $SRCDIR
+. $SRCDIR/scripts/defines.sh $SRCDIR $BDB2
 
 echo "Datadir is $DATADIR"
 
@@ -25,7 +28,7 @@ if [ $RC != 0 ]; then
 fi
 
 echo "Starting slapd on TCP/IP port $PORT..."
-$SLAPD -f $CONF -p $PORT -d $LVL > $MASTERLOG 2>&1 &
+$SLAPD -f $CONF -p $PORT -d $LVL $TIMING > $MASTERLOG 2>&1 &
 PID=$!
 
 echo "Using ldapsearch to retrieve all the entries..."