ITS#10436 Make sure to stop servers if test fails

This commit is contained in:
Ondřej Kuzník 2023-01-12 12:32:03 +00:00 committed by Quanah Gibson-Mount
parent 957d23df00
commit 1528f88794

View file

@ -75,6 +75,7 @@ $LDAPSASLWHOAMI -o tls_cacert=$TESTDIR/tls/ca/certs/testsuiteCA.crt -o tls_reqce
RC=$?
if test $RC != 0 ; then
echo "ldapwhoami (startTLS) failed ($RC)!"
test $KILLSERVERS != no && kill -HUP $PID
exit $RC
else
echo "success"