X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=tests%2Fbasic;fp=tests%2Fbasic;h=83bf7536a04c4a57dbe6e67624b2b61c6f6a42f1;hb=21a38eae25ffc1e9f836e60d8254cf5e960553c5;hp=8b4a1ca9cf7cd17146ca474cda4aedbd280870d6;hpb=8af517bd1dc3eea66a64387af3e69188a536b2ee;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