From 947612e72f810d3f84b20c91a42701bb2a931f7a Mon Sep 17 00:00:00 2001 From: Hallvard Furuseth Date: Sun, 16 Nov 2008 04:33:11 +0000 Subject: [PATCH] Kill slapd before exiting --- tests/scripts/test055-valregex | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.39.5