- [regress/sftp-cmds.sh] Ensure file used for test are readable.

This commit is contained in:
Darren Tucker 2003-09-04 14:26:31 +10:00
parent 60de9f1851
commit 933e4f1c27
2 changed files with 10 additions and 2 deletions

View File

@ -9,6 +9,7 @@
- [regress/reconfigure/sh] Make path to sshd fully qualified if required.
- [regress/rekey.sh] Remove dependence on /dev/zero (not all platforms have
it). The sparse file will take less disk space too.
- [regress/sftp-cmds.sh] Ensure file used for test are readable.
20030903
- (djm) OpenBSD CVS Sync
@ -999,4 +1000,4 @@
- Fix sshd BindAddress and -b options for systems using fake-getaddrinfo.
Report from murple@murple.net, diagnosis from dtucker@zip.com.au
$Id: ChangeLog,v 1.2946 2003/09/04 04:02:56 dtucker Exp $
$Id: ChangeLog,v 1.2947 2003/09/04 04:26:31 dtucker Exp $

View File

@ -9,7 +9,14 @@ tid="sftp commands"
DATA=/bin/ls
COPY=${OBJ}/copy
GLOBFILES=`(cd /bin;echo l*)`
# test that these files are readable!
for i in `(cd /bin;echo l*)`
do
if [ -r $i ]; then
GLOBFILES="$GLOBFILES $i"
fi
done
# Path with embedded quote
QUOTECOPY=${COPY}".\"blah\""