echo ">>>>> Executing all LDAP tests..."
-if [ $# -eq 0 ]; then
+if test $# -eq 0 ; then
SRCDIR="."
else
SRCDIR=$1; shift
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."