mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-22 07:39:35 -05:00
25 lines
394 B
Bash
Executable file
25 lines
394 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 ">>>>> waiting 5 seconds for things to exit"
|
|
sleep 5
|
|
echo
|
|
done
|