]> git.sur5r.net Git - openldap/blobdiff - tests/scripts/all
Extend TLS/SSL detection for use RSAref if necessary.
[openldap] / tests / scripts / all
index 5dbdc61b2add9a67210ed78b7deeb2c38f884599..b9f30d52bb7e4e9a4c1db97dc70770fb9b7d82f8 100755 (executable)
@@ -1,8 +1,11 @@
 #!/bin/sh
 
+# disable LDAP initialization
+LDAPNOINIT=true; export LDAPNOINIT
+
 echo ">>>>> Executing all LDAP tests..."
 
-if [ $# -eq 0 ]; then
+if test $# -eq 0 ; then
        SRCDIR="."
 else
        SRCDIR=$1; shift
@@ -10,9 +13,17 @@ fi
 
 echo ">>>>> Test Directory: $SRCDIR"
 
+if test $# -eq 0 ; then
+       BACKEND=ldbm
+else
+       BACKEND=$1; shift
+fi
+
+echo ">>>>> Backend: $BACKEND"
+
 for CMD in $SRCDIR/scripts/test*; do
        echo ">>>>> Starting `basename $CMD` ..."
-       $CMD $SRCDIR
+       $CMD $SRCDIR $BACKEND
        RC=$?
        if [ $RC -eq 0 ]; then
                echo ">>>>> $CMD completed OK."