summaryrefslogtreecommitdiff
path: root/regress/forward-control.sh
diff options
context:
space:
mode:
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