mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
7388974468
might have in their ldap.conf(5) file.
30 lines
507 B
Bash
Executable File
30 lines
507 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# disable LDAP initialization
|
|
LDAPNOINIT=true; export LDAPNOINIT
|
|
|
|
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
|