diff options
author | Darren Tucker <dtucker@zip.com.au> | 2003-09-04 14:26:31 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2003-09-04 14:26:31 +1000 |
commit | 933e4f1c271312cb1f66dda5a21420563bf3080c (patch) | |
tree | c149796318f9f7182bcddfaaa5d1ad2cd55ed261 /regress/sftp-cmds.sh | |
parent | 60de9f1851f19b43ba97a8d05861a4bf3416703d (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.sh | 9 |
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 | ||
10 | DATA=/bin/ls | 10 | DATA=/bin/ls |
11 | COPY=${OBJ}/copy | 11 | COPY=${OBJ}/copy |
12 | GLOBFILES=`(cd /bin;echo l*)` | 12 | # test that these files are readable! |
13 | for i in `(cd /bin;echo l*)` | ||
14 | do | ||
15 | if [ -r $i ]; then | ||
16 | GLOBFILES="$GLOBFILES $i" | ||
17 | fi | ||
18 | done | ||
19 | |||
13 | 20 | ||
14 | # Path with embedded quote | 21 | # Path with embedded quote |
15 | QUOTECOPY=${COPY}".\"blah\"" | 22 | QUOTECOPY=${COPY}".\"blah\"" |