summaryrefslogtreecommitdiff
path: root/regress/sftp-cmds.sh
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2003-09-04 14:26:31 +1000
committerDarren Tucker <dtucker@zip.com.au>2003-09-04 14:26:31 +1000
commit933e4f1c271312cb1f66dda5a21420563bf3080c (patch)
treec149796318f9f7182bcddfaaa5d1ad2cd55ed261 /regress/sftp-cmds.sh
parent60de9f1851f19b43ba97a8d05861a4bf3416703d (diff)
- [regress/sftp-cmds.sh] Ensure file used for test are readable.
Diffstat (limited to 'regress/sftp-cmds.sh')
-rw-r--r--regress/sftp-cmds.sh9
1 files changed, 8 insertions, 1 deletions
diff --git a/regress/sftp-cmds.sh b/regress/sftp-cmds.sh
index 0969dbd46..a7d552972 100644
--- a/regress/sftp-cmds.sh
+++ b/regress/sftp-cmds.sh
@@ -9,7 +9,14 @@ tid="sftp commands"
9 9
10DATA=/bin/ls 10DATA=/bin/ls
11COPY=${OBJ}/copy 11COPY=${OBJ}/copy
12GLOBFILES=`(cd /bin;echo l*)` 12# test that these files are readable!
13for i in `(cd /bin;echo l*)`
14do
15 if [ -r $i ]; then
16 GLOBFILES="$GLOBFILES $i"
17 fi
18done
19
13 20
14# Path with embedded quote 21# Path with embedded quote
15QUOTECOPY=${COPY}".\"blah\"" 22QUOTECOPY=${COPY}".\"blah\""