openldap/tests/scripts/all
Kurt Zeilenga 334768c1bb Update build environment to fix VPATH support.
make depend, make tests, and make install all work when build directory
  is not the $srcdir.
Also modified library handling such that -lpthread more likely to be last.
WARNING: new orderring requires use of LDFLAGS to set global loader options
  such as -L/usr/local/lib.  If you put this in LIBS, some libraries
  may not be found a link time.
Likely broke Kerberos/LDAPD support.  Don't have those in my testbed.
1999-01-10 02:25:41 +00:00

27 lines
441 B
Bash
Executable File

#!/bin/sh
echo ">>>>> Executing all LDAP tests..."
if [ $# -eq 0 ]; then
SRCDIR="."
else
SRCDIR=$1; shift
fi
echo ">>>>> Test Directory: $SRCDIR"
for CMD in $SRCDIR/scripts/test*; do
echo ">>>>> Starting `basename $CMD` ..."
$CMD $SRCDIR
RC=$?
if [ $RC -eq 0 ]; then
echo ">>>>> $CMD completed OK."
else
echo ">>>>> $CMD failed (exit $RC)"
exit $RC
fi
echo ">>>>> waiting 5 seconds for things to exit"
sleep 5
echo
done