]> git.sur5r.net Git - openldap/blobdiff - tests/scripts/test002-populate
Extend TLS/SSL detection for use RSAref if necessary.
[openldap] / tests / scripts / test002-populate
index d5f659b71d70d57e40703279be382f1aba830c84..7852062ba11310a472d26064dc2977f0d8224822 100755 (executable)
@@ -5,15 +5,18 @@ if [ $# -eq 0 ]; then
 else
        SRCDIR=$1; shift
 fi
+if [ $# -eq 1 ]; then
+       BDB2=$1; shift
+fi
 
-. $SRCDIR/scripts/defines.sh $SRCDIR
+. $SRCDIR/scripts/defines.sh $SRCDIR $BDB2
 
 echo "Cleaning up in $DBDIR..."
 
 rm -f $DBDIR/[!C]*
 
 echo "Starting slapd on TCP/IP port $PORT..."
-$SLAPD -f $CONF -p $PORT -d 1 > $MASTERLOG 2>&1 &
+$SLAPD -f $CONF -p $PORT -d $LVL $TIMING > $MASTERLOG 2>&1 &
 PID=$!
 
 echo "Using ldapsearch to check that slapd is running..."