mirror of
git://anongit.mindrot.org/openssh.git
synced 2024-11-24 02:02:10 +08:00
- [regress/sftp-badcmds.sh regress/sftp-cmds.sh regress/sftp.sh
regress/ssh-com-client.sh regress/ssh-com-sftp.sh regress/stderr-data.sh regress/transfer.sh] Use ${EXEEXT} where appropriate.
This commit is contained in:
parent
c376a88c10
commit
c2c4223ed0
@ -11,6 +11,9 @@
|
||||
it). The sparse file will take less disk space too.
|
||||
- [regress/sftp-cmds.sh] Ensure file used for test are readable.
|
||||
- [regress/stderr-after-eof.sh] Search for a usable checksum program.
|
||||
- [regress/sftp-badcmds.sh regress/sftp-cmds.sh regress/sftp.sh
|
||||
regress/ssh-com-client.sh regress/ssh-com-sftp.sh regress/stderr-data.sh
|
||||
regress/transfer.sh] Use ${EXEEXT} where appropriate.
|
||||
|
||||
20030903
|
||||
- (djm) OpenBSD CVS Sync
|
||||
@ -1001,4 +1004,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.2948 2003/09/04 04:32:02 dtucker Exp $
|
||||
$Id: ChangeLog,v 1.2949 2003/09/04 04:54:39 dtucker Exp $
|
||||
|
@ -3,8 +3,8 @@
|
||||
|
||||
tid="sftp invalid commands"
|
||||
|
||||
DATA=/bin/ls
|
||||
DATA2=/bin/cat
|
||||
DATA=/bin/ls${EXEEXT}
|
||||
DATA2=/bin/cat${EXEEXT}
|
||||
NONEXIST=/NONEXIST.$$
|
||||
COPY=${OBJ}/copy
|
||||
GLOBFILES=`(cd /bin;echo l*)`
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
tid="sftp commands"
|
||||
|
||||
DATA=/bin/ls
|
||||
DATA=/bin/ls${EXEEXT}
|
||||
COPY=${OBJ}/copy
|
||||
# test that these files are readable!
|
||||
for i in `(cd /bin;echo l*)`
|
||||
@ -70,7 +70,7 @@ rm -f ${COPY}.dd/*
|
||||
verbose "$tid: get to directory"
|
||||
echo "get $DATA ${COPY}.dd" | ${SFTP} -P ${SFTPSERVER} >/dev/null 2>&1 \
|
||||
|| fail "get failed"
|
||||
cmp $DATA ${COPY}.dd/ls || fail "corrupted copy after get"
|
||||
cmp $DATA ${COPY}.dd/`basename $DATA` || fail "corrupted copy after get"
|
||||
|
||||
rm -f ${COPY}.dd/*
|
||||
verbose "$tid: glob get to directory"
|
||||
@ -82,13 +82,13 @@ done
|
||||
|
||||
rm -f ${COPY}.dd/*
|
||||
verbose "$tid: get to local dir"
|
||||
echo "lcd ${COPY}.dd\nget $DATA" | ${SFTP} -P ${SFTPSERVER} >/dev/null 2>&1 \
|
||||
(echo "lcd ${COPY}.dd"; echo "get $DATA" ) | ${SFTP} -P ${SFTPSERVER} >/dev/null 2>&1 \
|
||||
|| fail "get failed"
|
||||
cmp $DATA ${COPY}.dd/ls || fail "corrupted copy after get"
|
||||
cmp $DATA ${COPY}.dd/`basename $DATA` || fail "corrupted copy after get"
|
||||
|
||||
rm -f ${COPY}.dd/*
|
||||
verbose "$tid: glob get to local dir"
|
||||
echo "lcd ${COPY}.dd\nget /bin/l*" | ${SFTP} -P ${SFTPSERVER} >/dev/null 2>&1 \
|
||||
(echo "lcd ${COPY}.dd"; echo "get /bin/l*") | ${SFTP} -P ${SFTPSERVER} >/dev/null 2>&1 \
|
||||
|| fail "get failed"
|
||||
for x in $GLOBFILES; do
|
||||
cmp /bin/$x ${COPY}.dd/$x || fail "corrupted copy after get"
|
||||
@ -110,7 +110,7 @@ rm -f ${COPY}.dd/*
|
||||
verbose "$tid: put to directory"
|
||||
echo "put $DATA ${COPY}.dd" | ${SFTP} -P ${SFTPSERVER} >/dev/null 2>&1 \
|
||||
|| fail "put failed"
|
||||
cmp $DATA ${COPY}.dd/ls || fail "corrupted copy after put"
|
||||
cmp $DATA ${COPY}.dd/`basename $DATA` || fail "corrupted copy after put"
|
||||
|
||||
rm -f ${COPY}.dd/*
|
||||
verbose "$tid: glob put to directory"
|
||||
@ -122,13 +122,13 @@ done
|
||||
|
||||
rm -f ${COPY}.dd/*
|
||||
verbose "$tid: put to local dir"
|
||||
echo "cd ${COPY}.dd\nput $DATA" | ${SFTP} -P ${SFTPSERVER} >/dev/null 2>&1 \
|
||||
(echo "cd ${COPY}.dd"; echo "put $DATA") | ${SFTP} -P ${SFTPSERVER} >/dev/null 2>&1 \
|
||||
|| fail "put failed"
|
||||
cmp $DATA ${COPY}.dd/ls || fail "corrupted copy after put"
|
||||
cmp $DATA ${COPY}.dd/`basename $DATA` || fail "corrupted copy after put"
|
||||
|
||||
rm -f ${COPY}.dd/*
|
||||
verbose "$tid: glob put to local dir"
|
||||
echo "cd ${COPY}.dd\nput /bin/l*" | ${SFTP} -P ${SFTPSERVER} >/dev/null 2>&1 \
|
||||
(echo "cd ${COPY}.dd"; echo "put /bin/l*") | ${SFTP} -P ${SFTPSERVER} >/dev/null 2>&1 \
|
||||
|| fail "put failed"
|
||||
for x in $GLOBFILES; do
|
||||
cmp /bin/$x ${COPY}.dd/$x || fail "corrupted copy after put"
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
tid="basic sftp put/get"
|
||||
|
||||
DATA=/bin/ls
|
||||
DATA=/bin/ls{EXEEXT}
|
||||
COPY=${OBJ}/copy
|
||||
|
||||
BUFFERSIZE="5 1000 32000 64000"
|
||||
|
@ -64,7 +64,7 @@ EOF
|
||||
# we need a real server (no ProxyConnect option)
|
||||
start_sshd
|
||||
|
||||
DATA=/bin/ls
|
||||
DATA=/bin/ls${EXEEXT}
|
||||
COPY=${OBJ}/copy
|
||||
rm -f ${COPY}
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
tid="basic sftp put/get with ssh.com server"
|
||||
|
||||
DATA=/bin/ls
|
||||
DATA=/bin/ls${EXEEXT}
|
||||
COPY=${OBJ}/copy
|
||||
|
||||
BUFFERSIZE="5 1000 32000 64000"
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
tid="stderr data transfer"
|
||||
|
||||
DATA=/bin/ls
|
||||
DATA=/bin/ls${EXEEXT}
|
||||
COPY=${OBJ}/copy
|
||||
rm -f ${COPY}
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
tid="transfer data"
|
||||
|
||||
DATA=/bin/ls
|
||||
DATA=/bin/ls${EXEEXT}
|
||||
COPY=${OBJ}/copy
|
||||
|
||||
for p in 1 2; do
|
||||
|
Loading…
Reference in New Issue
Block a user