]> git.sur5r.net Git - openldap/blobdiff - tests/scripts/test006-acls
Extend TLS/SSL detection for use RSAref if necessary.
[openldap] / tests / scripts / test006-acls
index 6979cf27fa8a1075472076d0e1497eac5af35545..c9b378f97c5daae31a516f6d22ee1c8745a726de 100755 (executable)
@@ -5,8 +5,11 @@ 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..."
 
@@ -21,7 +24,7 @@ if [ $RC != 0 ]; then
 fi
 
 echo "Starting slapd on TCP/IP port $PORT..."
-$SLAPD -f $ACLCONF -p $PORT -d 1 > $MASTERLOG 2>&1 &
+$SLAPD -f $ACLCONF -p $PORT -d $LVL $TIMING > $MASTERLOG 2>&1 &
 PID=$!
 
 echo "Testing slapd access control..."