mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-28 02:29:34 -05:00
ITS#4491, abort test if debug messages are missing
This commit is contained in:
parent
b1534d0ea9
commit
e59fb036c9
1 changed files with 9 additions and 0 deletions
|
|
@ -123,6 +123,15 @@ if test $RC != 0 ; then
|
|||
exit $RC
|
||||
fi
|
||||
|
||||
# ITS#4491, if debug messages are unavailable, we can't verify the tests.
|
||||
grep "query template" $LOG2 > /dev/null
|
||||
RC=$?
|
||||
if test $RC != 0 ; then
|
||||
echo "Debug messages unavailable, test aborted..."
|
||||
test $KILLSERVERS != no && kill -HUP $KILLPIDS && wait
|
||||
exit 0
|
||||
fi
|
||||
|
||||
echo "Query 2: filter:(|(cn=*Jon*)(sn=Jon*)) attrs:cn sn title uid"
|
||||
echo "# Query 2: filter:(|(cn=*Jon*)(sn=Jon*)) attrs:cn sn title uid" >> $SLAVEOUT
|
||||
$LDAPSEARCH -x -S "" -b "$BASEDN" -h $LOCALHOST -p $PORT2 \
|
||||
|
|
|
|||
Loading…
Reference in a new issue