From: Quanah Gibson-Mount Date: Thu, 30 Jun 2022 18:02:24 +0000 (+0000) Subject: ITS#9468 - Fix script logic X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b9173d3031d03a262c77e5e689ce54aed7f2700b;p=thirdparty%2Fopenldap.git ITS#9468 - Fix script logic Fix missing addition of SERVERPID to KILLPIDS so that a slapd process doesn't get left behind in some instances --- diff --git a/tests/data/regressions/its9468/its9468 b/tests/data/regressions/its9468/its9468 index 3f8327006b..3e2e70fcf5 100755 --- a/tests/data/regressions/its9468/its9468 +++ b/tests/data/regressions/its9468/its9468 @@ -74,6 +74,7 @@ if test $RC != 0 ; then test $KILLSERVERS != no && kill -HUP $SERVERPID exit $RC fi +KILLPIDS="$KILLPIDS $SERVERPID" # # Start slapd that will proxy for the remote server @@ -418,4 +419,4 @@ echo ">>>>> Test succeeded" test $KILLSERVERS != no && wait -exit 0 \ No newline at end of file +exit 0