]> git.sur5r.net Git - openldap/blobdiff - tests/scripts/test020-proxycache
From HEAD
[openldap] / tests / scripts / test020-proxycache
index 35c250e45a856912404acfd5a657bc8640f821b3..f68cb68e040c11c8e11049649fbb1ee4ca0da07c 100755 (executable)
@@ -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 \