projects
/
monkeysphere.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8af517b
)
add a 'wait' in the test ssh_test function to try to get around the race condition...
author
Jameson Graef Rollins
<jrollins@finestructure.net>
Fri, 17 Jul 2009 01:48:56 +0000
(21:48 -0400)
committer
Jameson Graef Rollins
<jrollins@finestructure.net>
Fri, 17 Jul 2009 01:48:56 +0000
(21:48 -0400)
tests/basic
patch
|
blob
|
history
diff --git
a/tests/basic
b/tests/basic
index 8b4a1ca9cf7cd17146ca474cda4aedbd280870d6..83bf7536a04c4a57dbe6e67624b2b61c6f6a42f1 100755
(executable)
--- 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