summaryrefslogtreecommitdiff
path: root/tests/basic
diff options
context:
space:
mode:
Diffstat (limited to 'tests/basic')
-rwxr-xr-xtests/basic3
1 files changed, 2 insertions, 1 deletions
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