- (dtucker) [regress/forward-control.sh] Wait longer for the forwarding

connection to start so that the test works on slower machines.
This commit is contained in:
Darren Tucker 2013-03-06 14:06:48 +11:00
parent ff8bda8f05
commit 834a0d6d54
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
20130306
- (dtucker) [regress/forward-control.sh] Wait longer for the forwarding
connection to start so that the test works on slower machines.
20130305
- (djm) [regress/modpipe.c] Compilation fix for AIX and parsing fix for
HP/UX. Spotted by Kevin Brott

View File

@ -14,7 +14,7 @@ wait_for_file_to_appear() {
while test ! -f $_path ; do
test $_n -eq 1 && trace "waiting for $_path to appear"
_n=`expr $_n + 1`
test $_n -ge 5 && return 1
test $_n -ge 20 && return 1
sleep 1
done
return 0
@ -26,7 +26,7 @@ wait_for_process_to_exit() {
while kill -0 $_pid 2>/dev/null ; do
test $_n -eq 1 && trace "waiting for $_pid to exit"
_n=`expr $_n + 1`
test $_n -ge 5 && return 1
test $_n -ge 20 && return 1
sleep 1
done
return 0