diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | regress/sftp-badcmds.sh | 4 | ||||
-rw-r--r-- | regress/sftp-cmds.sh | 4 |
3 files changed, 7 insertions, 5 deletions
@@ -3,6 +3,8 @@ | |||
3 | source tree. | 3 | source tree. |
4 | - (tim) [regress/agent-timeout.sh] s/TIMEOUT/SSHAGENT_TIMEOUT/ Fixes conflict | 4 | - (tim) [regress/agent-timeout.sh] s/TIMEOUT/SSHAGENT_TIMEOUT/ Fixes conflict |
5 | with shell read-only variable. | 5 | with shell read-only variable. |
6 | - (tim) [regress/sftp-badcmds.sh regress/sftp-cmds.sh] Fix errors like | ||
7 | UX:rm: ERROR: Cannot remove '.' or '..' | ||
6 | 8 | ||
7 | 20030908 | 9 | 20030908 |
8 | - (tim) [configure.ac openbsd-compat/getrrsetbyname.c] wrap _getshort and | 10 | - (tim) [configure.ac openbsd-compat/getrrsetbyname.c] wrap _getshort and |
@@ -1050,4 +1052,4 @@ | |||
1050 | - Fix sshd BindAddress and -b options for systems using fake-getaddrinfo. | 1052 | - Fix sshd BindAddress and -b options for systems using fake-getaddrinfo. |
1051 | Report from murple@murple.net, diagnosis from dtucker@zip.com.au | 1053 | Report from murple@murple.net, diagnosis from dtucker@zip.com.au |
1052 | 1054 | ||
1053 | $Id: ChangeLog,v 1.2974 2003/09/09 15:27:40 tim Exp $ | 1055 | $Id: ChangeLog,v 1.2975 2003/09/09 15:35:20 tim Exp $ |
diff --git a/regress/sftp-badcmds.sh b/regress/sftp-badcmds.sh index 4fe32effa..a6a19409d 100644 --- a/regress/sftp-badcmds.sh +++ b/regress/sftp-badcmds.sh | |||
@@ -9,7 +9,7 @@ NONEXIST=/NONEXIST.$$ | |||
9 | COPY=${OBJ}/copy | 9 | COPY=${OBJ}/copy |
10 | GLOBFILES=`(cd /bin;echo l*)` | 10 | GLOBFILES=`(cd /bin;echo l*)` |
11 | 11 | ||
12 | rm -rf ${COPY} ${COPY}.1 ${COPY}.2 ${COPY}.dd ${BATCH}.* | 12 | rm -rf ${COPY} ${COPY}.1 ${COPY}.2 ${COPY}.dd |
13 | 13 | ||
14 | rm -f ${COPY} | 14 | rm -f ${COPY} |
15 | verbose "$tid: get nonexistent" | 15 | verbose "$tid: get nonexistent" |
@@ -73,6 +73,6 @@ verbose "$tid: glob put files to local file" | |||
73 | echo "put /bin/l* $COPY" | ${SFTP} -P ${SFTPSERVER} >/dev/null 2>&1 | 73 | echo "put /bin/l* $COPY" | ${SFTP} -P ${SFTPSERVER} >/dev/null 2>&1 |
74 | cmp ${DATA2} ${COPY} || fail "put successed when it should have failed" | 74 | cmp ${DATA2} ${COPY} || fail "put successed when it should have failed" |
75 | 75 | ||
76 | rm -rf ${COPY} ${COPY}.1 ${COPY}.2 ${COPY}.dd ${BATCH}.* | 76 | rm -rf ${COPY} ${COPY}.1 ${COPY}.2 ${COPY}.dd |
77 | 77 | ||
78 | 78 | ||
diff --git a/regress/sftp-cmds.sh b/regress/sftp-cmds.sh index db03c33b8..1237720f9 100644 --- a/regress/sftp-cmds.sh +++ b/regress/sftp-cmds.sh | |||
@@ -35,7 +35,7 @@ fi | |||
35 | QUOTECOPY=${COPY}".\"blah\"" | 35 | QUOTECOPY=${COPY}".\"blah\"" |
36 | QUOTECOPY_ARG=${COPY}'.\"blah\"' | 36 | QUOTECOPY_ARG=${COPY}'.\"blah\"' |
37 | 37 | ||
38 | rm -rf ${COPY} ${COPY}.1 ${COPY}.2 ${COPY}.dd ${COPY}.dd2 ${BATCH}.* | 38 | rm -rf ${COPY} ${COPY}.1 ${COPY}.2 ${COPY}.dd ${COPY}.dd2 |
39 | mkdir ${COPY}.dd | 39 | mkdir ${COPY}.dd |
40 | 40 | ||
41 | verbose "$tid: lls" | 41 | verbose "$tid: lls" |
@@ -190,6 +190,6 @@ verbose "$tid: lchdir" | |||
190 | echo "lchdir ${COPY}.dd" | ${SFTP} -P ${SFTPSERVER} >/dev/null 2>&1 \ | 190 | echo "lchdir ${COPY}.dd" | ${SFTP} -P ${SFTPSERVER} >/dev/null 2>&1 \ |
191 | || fail "lchdir failed" | 191 | || fail "lchdir failed" |
192 | 192 | ||
193 | rm -rf ${COPY} ${COPY}.1 ${COPY}.2 ${COPY}.dd ${COPY}.dd2 ${BATCH}.* | 193 | rm -rf ${COPY} ${COPY}.1 ${COPY}.2 ${COPY}.dd ${COPY}.dd2 |
194 | 194 | ||
195 | 195 | ||