]> git.sur5r.net Git - openldap/commitdiff
Kill slapd before exiting
authorHallvard Furuseth <hallvard@openldap.org>
Sun, 16 Nov 2008 04:33:11 +0000 (04:33 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Sun, 16 Nov 2008 04:33:11 +0000 (04:33 +0000)
tests/scripts/test055-valregex

index 4c18a0ce2c7b697c2e338a69e89d0d4aba0b3764..0ab69aef38ba95aab2228f8b79e4f1ef03e070d5 100755 (executable)
@@ -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