summaryrefslogtreecommitdiff
path: root/regress
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
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')
-rw-r--r--regress/sftp-badcmds.sh2
-rw-r--r--regress/test-exec.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/regress/sftp-badcmds.sh b/regress/sftp-badcmds.sh
index a6a19409d..eac189aaf 100644
--- a/regress/sftp-badcmds.sh
+++ b/regress/sftp-badcmds.sh
@@ -4,7 +4,7 @@
4tid="sftp invalid commands" 4tid="sftp invalid commands"
5 5
6DATA=/bin/ls${EXEEXT} 6DATA=/bin/ls${EXEEXT}
7DATA2=/bin/cat${EXEEXT} 7DATA2=/bin/sh${EXEEXT}
8NONEXIST=/NONEXIST.$$ 8NONEXIST=/NONEXIST.$$
9COPY=${OBJ}/copy 9COPY=${OBJ}/copy
10GLOBFILES=`(cd /bin;echo l*)` 10GLOBFILES=`(cd /bin;echo l*)`
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"