mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
24 lines
334 B
Bash
Executable File
24 lines
334 B
Bash
Executable File
#!/bin/sh
|
|
|
|
echo ">>>>> Executing all LDAP tests..."
|
|
|
|
if [ $# -eq 0 ]; then
|
|
SCRIPTDIR="."
|
|
else
|
|
SCRIPTDIR=$1; shift
|
|
fi
|
|
|
|
for i in $SCRIPTDIR/test*; do
|
|
CMD=$i $*
|
|
echo ">>>>> Starting $CMD ..."
|
|
$CMD
|
|
RC=$?
|
|
if [ $RC -eq 0 ]; then
|
|
echo ">>>>> $CMD completed OK."
|
|
else
|
|
echo ">>>>> $CMD failed (exit $RC)"
|
|
exit $RC
|
|
fi
|
|
echo
|
|
done
|