]> git.sur5r.net Git - openldap/blobdiff - tests/scripts/all
ITS#2401 support tests for dynamically loaded backends
[openldap] / tests / scripts / all
index 85cb1a0edbec5bf4746e99e2abbf94b17c8cfb12..1e4a4d1da27b0a5955a3d2f09022285fe028a70d 100755 (executable)
@@ -22,6 +22,14 @@ fi
 
 echo ">>>>> Backend: $BACKEND"
 
+if test $# -eq 0 ; then
+       BACKENDTYPE=yes
+else
+       BACKENDTYPE=$1; shift
+fi
+
+echo ">>>>> Backend Type: $BACKENDTYPE"
+
 if test $# -eq 0 ; then
        MONITOR=no
 else
@@ -35,7 +43,7 @@ TN=`$SHTOOL echo -e "%b"`
 
 for CMD in $SRCDIR/scripts/test*; do
        echo ">>>>> Starting ${TB}`basename $CMD`${TN} ..."
-       $CMD $SRCDIR $BACKEND $MONITOR
+       $CMD $SRCDIR $BACKEND $BACKENDTYPE $MONITOR
        RC=$?
        if test $RC -eq 0 ; then
                echo ">>>>> $CMD completed ${TB}OK${TN}."