summaryrefslogtreecommitdiff
path: root/regress/forward-control.sh
diff options
context:
space:
mode:
authorTim Rice <tim@multitalents.net>2013-02-20 21:37:55 -0800
committerTim Rice <tim@multitalents.net>2013-02-20 21:37:55 -0800
commit0ec742369243cb4ffaaa0b2938cae9a96dfd27c5 (patch)
tree5bdc66b2a3a9eb26f1603abf79693231cbdc8a78 /regress/forward-control.sh
parent5acc6be9818e0cd0a6fd95f9d7b65de331ee46d3 (diff)
- (tim) [regress/forward-control.sh] shell portability fix.
Diffstat (limited to 'regress/forward-control.sh')
-rw-r--r--regress/forward-control.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/regress/forward-control.sh b/regress/forward-control.sh
index 9d000bc76..ac20bacc9 100644
--- a/regress/forward-control.sh
+++ b/regress/forward-control.sh
@@ -11,7 +11,7 @@ READY=$OBJ/ready
11wait_for_file_to_appear() { 11wait_for_file_to_appear() {
12 _path=$1 12 _path=$1
13 _n=0 13 _n=0
14 while test ! -e $_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 5 && return 1