]> git.sur5r.net Git - openldap/commitdiff
Replace sleep with wait. Note that KILLSERVERS doesn't make much sense
authorHoward Chu <hyc@openldap.org>
Fri, 13 Jan 2006 21:32:24 +0000 (21:32 +0000)
committerHoward Chu <hyc@openldap.org>
Fri, 13 Jan 2006 21:32:24 +0000 (21:32 +0000)
here since the script has to respawn the servers anyway.

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