]> git.sur5r.net Git - openldap/blobdiff - tests/scripts/test030-relay
Sync with HEAD
[openldap] / tests / scripts / test030-relay
index 088f059d4658101c5e9d589181a3094a5caae3cf..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
@@ -103,5 +103,7 @@ for RELAY in $RELAYS ; do
 done
 
 echo ">>>>> Test succeeded"
-exit 0
 
+test $KILLSERVERS != no && wait
+
+exit 0