From 0ec742369243cb4ffaaa0b2938cae9a96dfd27c5 Mon Sep 17 00:00:00 2001 From: Tim Rice Date: Wed, 20 Feb 2013 21:37:55 -0800 Subject: [PATCH] - (tim) [regress/forward-control.sh] shell portability fix. --- ChangeLog | 3 +++ regress/forward-control.sh | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index b527ff057..a87e7fb5a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +20130221 + - (tim) [regress/forward-control.sh] shell portability fix. + 20130220 - (tim) [regress/cipher-speed.sh regress/try-ciphers.sh] shell portability fix. - (tim) [krl.c Makefile.in regress/Makefile regress/modpipe.c] remove unneeded 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 wait_for_file_to_appear() { _path=$1 _n=0 - while test ! -e $_path ; do + 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