X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=tests%2Fbasic;h=83bf7536a04c4a57dbe6e67624b2b61c6f6a42f1;hb=9a164c608691a9d5c00bde47160c01ef39be56b3;hp=8b4a1ca9cf7cd17146ca474cda4aedbd280870d6;hpb=811990b737bca2bd6ed26f9d002e55a9aa0b0cc2;p=monkeysphere.git diff --git a/tests/basic b/tests/basic index 8b4a1ca..83bf753 100755 --- a/tests/basic +++ b/tests/basic @@ -66,7 +66,7 @@ ssh_test() { # wait until the socket is created before continuing while [ ! -S "$SOCKET" ] ; do - sleep 2 + sleep 1 done # make a client connection to the socket @@ -77,6 +77,7 @@ ssh_test() { # kill the sshd process if it's still running kill "$SSHD_PID" || true + wait SSHD_PID= if [ "$RETURN" = "$CODE" ] ; then