From: Hallvard Furuseth Date: Sun, 16 Nov 2008 04:33:11 +0000 (+0000) Subject: Kill slapd before exiting X-Git-Tag: ACLCHECK_0~1090 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=947612e72f810d3f84b20c91a42701bb2a931f7a;p=openldap Kill slapd before exiting --- diff --git a/tests/scripts/test055-valregex b/tests/scripts/test055-valregex index 4c18a0ce2c..0ab69aef38 100755 --- a/tests/scripts/test055-valregex +++ b/tests/scripts/test055-valregex @@ -103,13 +103,15 @@ replace: sn sn: James A Jones 1 EOMODS RC=$? + +test $KILLSERVERS != no && kill -HUP $KILLPIDS + case $RC in 0) echo "ldapmodify succeed as expected" ;; *) echo "ldapmodify failed ($RC)!" - test $KILLSERVERS != no && kill -HUP $KILLPIDS exit $RC ;; esac