]> git.sur5r.net Git - openldap/blobdiff - tests/scripts/test030-relay
Replace sleep with wait. Note that KILLSERVERS doesn't make much sense
[openldap] / tests / scripts / test030-relay
index 3164dca9e4f93862823d66e14e9fd8a599d3ed13..7f06f98e7f4ff74283a343846afef72b45adb90b 100755 (executable)
@@ -89,8 +89,8 @@ for RELAY in $RELAYS ; do
                if test $first = 1 ; then
                        first=0
                else
-                       echo ">>>>> waiting 10 seconds for things to exit"
-                       sleep 10
+                       echo ">>>>> waiting for things to exit"
+                       test $KILLSERVERS != no && wait
                        echo ""
        
                        rm -rf $TESTDIR