summaryrefslogtreecommitdiff
path: root/regress/forward-control.sh
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2013-03-06 14:06:48 +1100
committerDarren Tucker <dtucker@zip.com.au>2013-03-06 14:06:48 +1100
commit834a0d6d541faf7d8e8aa8116eaf594746239275 (patch)
tree2c6892dbcddce6c9eb8d1920da958dd3e1ea0b0d /regress/forward-control.sh
parentff8bda8f05e85b1196ec3a135d9970c475bcdcdb (diff)
- (dtucker) [regress/forward-control.sh] Wait longer for the forwarding
connection to start so that the test works on slower machines.
Diffstat (limited to 'regress/forward-control.sh')
-rw-r--r--regress/forward-control.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/forward-control.sh b/regress/forward-control.sh
index 806874895..80ddb4167 100644
--- a/regress/forward-control.sh
+++ b/regress/forward-control.sh
@@ -14,7 +14,7 @@ wait_for_file_to_appear() {
14 while test ! -f $_path ; do 14 while test ! -f $_path ; do
15 test $_n -eq 1 && trace "waiting for $_path to appear" 15 test $_n -eq 1 && trace "waiting for $_path to appear"
16 _n=`expr $_n + 1` 16 _n=`expr $_n + 1`
17 test $_n -ge 5 && return 1 17 test $_n -ge 20 && return 1
18 sleep 1 18 sleep 1
19 done 19 done
20 return 0 20 return 0
@@ -26,7 +26,7 @@ wait_for_process_to_exit() {
26 while kill -0 $_pid 2>/dev/null ; do 26 while kill -0 $_pid 2>/dev/null ; do
27 test $_n -eq 1 && trace "waiting for $_pid to exit" 27 test $_n -eq 1 && trace "waiting for $_pid to exit"
28 _n=`expr $_n + 1` 28 _n=`expr $_n + 1`
29 test $_n -ge 5 && return 1 29 test $_n -ge 20 && return 1
30 sleep 1 30 sleep 1
31 done 31 done
32 return 0 32 return 0