summaryrefslogtreecommitdiff
path: root/regress/test-exec.sh
diff options
context:
space:
mode:
authorTim Rice <tim@multitalents.net>2004-02-12 07:17:10 -0800
committerTim Rice <tim@multitalents.net>2004-02-12 07:17:10 -0800
commit9ad7e0e805157ad7374fe91dc20e6d0b2cc9ebf1 (patch)
tree3f1e2615fb40b288c36d87714cc0cb636b5e9a2c /regress/test-exec.sh
parent43fa557ce2b908373356cdf4b9dbd2da68350ba4 (diff)
[Makefile.in regress/sftp-badcmds.sh regress/test-exec.sh]
Portablity fixes. Data sftp transfers needs to be world readable. Some older shells hang on while loops when doing sh -n some_script. OK dtucker@
Diffstat (limited to 'regress/test-exec.sh')
-rw-r--r--regress/test-exec.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/regress/test-exec.sh b/regress/test-exec.sh
index debe7e3a4..98851dc97 100644
--- a/regress/test-exec.sh
+++ b/regress/test-exec.sh
@@ -30,7 +30,7 @@ if [ ! -f $SCRIPT ]; then
30 echo "not a file: $SCRIPT" 30 echo "not a file: $SCRIPT"
31 exit 2 31 exit 2
32fi 32fi
33if sh -n $SCRIPT; then 33if $TEST_SHELL -n $SCRIPT; then
34 true 34 true
35else 35else
36 echo "syntax error in $SCRIPT" 36 echo "syntax error in $SCRIPT"