]> git.sur5r.net Git - openldap/blobdiff - tests/scripts/test027-emptydn
Use shell "wait" instead of fixed 10 second wait-for-things-to-die
[openldap] / tests / scripts / test027-emptydn
index 7eaa289c080c72e2c6bee06b8bd9009d908d64ca..9d0e7dfc10f4ed85a5b3c91e0c707d8730355c3f 100755 (executable)
@@ -75,7 +75,7 @@ if test $RC != 0 ; then
        exit $RC
 fi
 
-test $KILLSERVERS != no && kill -HUP $KILLPIDS
+kill -HUP $KILLPIDS
 wait
 
 LDIFOUT=$EMPTYDNOUT1
@@ -169,4 +169,7 @@ fi
 #####
 
 echo ">>>>> Test succeeded"
+
+test $KILLSERVERS != no && wait
+
 exit 0