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