]> git.sur5r.net Git - openldap/blobdiff - tests/scripts/all
More streamlining.
[openldap] / tests / scripts / all
index db91af99fbb55a2737eafd7780c4b236e87e7e3b..85cb1a0edbec5bf4746e99e2abbf94b17c8cfb12 100755 (executable)
@@ -22,6 +22,12 @@ fi
 
 echo ">>>>> Backend: $BACKEND"
 
+if test $# -eq 0 ; then
+       MONITOR=no
+else
+       MONITOR=$1; shift
+fi
+
 SHTOOL="$SRCDIR/../build/shtool"
 
 TB=`$SHTOOL echo -e "%B"`
@@ -29,7 +35,7 @@ TN=`$SHTOOL echo -e "%b"`
 
 for CMD in $SRCDIR/scripts/test*; do
        echo ">>>>> Starting ${TB}`basename $CMD`${TN} ..."
-       $CMD $SRCDIR $BACKEND
+       $CMD $SRCDIR $BACKEND $MONITOR
        RC=$?
        if test $RC -eq 0 ; then
                echo ">>>>> $CMD completed ${TB}OK${TN}."