summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--regress/sftp-badcmds.sh4
-rw-r--r--regress/sftp-cmds.sh18
-rw-r--r--regress/sftp.sh2
-rw-r--r--regress/ssh-com-client.sh2
-rw-r--r--regress/ssh-com-sftp.sh2
-rw-r--r--regress/stderr-data.sh2
-rw-r--r--regress/transfer.sh2
8 files changed, 20 insertions, 17 deletions
diff --git a/ChangeLog b/ChangeLog
index 19632cb2c..69fa5637c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -11,6 +11,9 @@
11 it). The sparse file will take less disk space too. 11 it). The sparse file will take less disk space too.
12 - [regress/sftp-cmds.sh] Ensure file used for test are readable. 12 - [regress/sftp-cmds.sh] Ensure file used for test are readable.
13 - [regress/stderr-after-eof.sh] Search for a usable checksum program. 13 - [regress/stderr-after-eof.sh] Search for a usable checksum program.
14 - [regress/sftp-badcmds.sh regress/sftp-cmds.sh regress/sftp.sh
15 regress/ssh-com-client.sh regress/ssh-com-sftp.sh regress/stderr-data.sh
16 regress/transfer.sh] Use ${EXEEXT} where appropriate.
14 17
1520030903 1820030903
16 - (djm) OpenBSD CVS Sync 19 - (djm) OpenBSD CVS Sync
@@ -1001,4 +1004,4 @@
1001 - Fix sshd BindAddress and -b options for systems using fake-getaddrinfo. 1004 - Fix sshd BindAddress and -b options for systems using fake-getaddrinfo.
1002 Report from murple@murple.net, diagnosis from dtucker@zip.com.au 1005 Report from murple@murple.net, diagnosis from dtucker@zip.com.au
1003 1006
1004$Id: ChangeLog,v 1.2948 2003/09/04 04:32:02 dtucker Exp $ 1007$Id: ChangeLog,v 1.2949 2003/09/04 04:54:39 dtucker Exp $
diff --git a/regress/sftp-badcmds.sh b/regress/sftp-badcmds.sh
index ca46909c0..4fe32effa 100644
--- a/regress/sftp-badcmds.sh
+++ b/regress/sftp-badcmds.sh
@@ -3,8 +3,8 @@
3 3
4tid="sftp invalid commands" 4tid="sftp invalid commands"
5 5
6DATA=/bin/ls 6DATA=/bin/ls${EXEEXT}
7DATA2=/bin/cat 7DATA2=/bin/cat${EXEEXT}
8NONEXIST=/NONEXIST.$$ 8NONEXIST=/NONEXIST.$$
9COPY=${OBJ}/copy 9COPY=${OBJ}/copy
10GLOBFILES=`(cd /bin;echo l*)` 10GLOBFILES=`(cd /bin;echo l*)`
diff --git a/regress/sftp-cmds.sh b/regress/sftp-cmds.sh
index a7d552972..c747988d1 100644
--- a/regress/sftp-cmds.sh
+++ b/regress/sftp-cmds.sh
@@ -7,7 +7,7 @@
7 7
8tid="sftp commands" 8tid="sftp commands"
9 9
10DATA=/bin/ls 10DATA=/bin/ls${EXEEXT}
11COPY=${OBJ}/copy 11COPY=${OBJ}/copy
12# test that these files are readable! 12# test that these files are readable!
13for i in `(cd /bin;echo l*)` 13for i in `(cd /bin;echo l*)`
@@ -70,7 +70,7 @@ rm -f ${COPY}.dd/*
70verbose "$tid: get to directory" 70verbose "$tid: get to directory"
71echo "get $DATA ${COPY}.dd" | ${SFTP} -P ${SFTPSERVER} >/dev/null 2>&1 \ 71echo "get $DATA ${COPY}.dd" | ${SFTP} -P ${SFTPSERVER} >/dev/null 2>&1 \
72 || fail "get failed" 72 || fail "get failed"
73cmp $DATA ${COPY}.dd/ls || fail "corrupted copy after get" 73cmp $DATA ${COPY}.dd/`basename $DATA` || fail "corrupted copy after get"
74 74
75rm -f ${COPY}.dd/* 75rm -f ${COPY}.dd/*
76verbose "$tid: glob get to directory" 76verbose "$tid: glob get to directory"
@@ -82,13 +82,13 @@ done
82 82
83rm -f ${COPY}.dd/* 83rm -f ${COPY}.dd/*
84verbose "$tid: get to local dir" 84verbose "$tid: get to local dir"
85echo "lcd ${COPY}.dd\nget $DATA" | ${SFTP} -P ${SFTPSERVER} >/dev/null 2>&1 \ 85(echo "lcd ${COPY}.dd"; echo "get $DATA" ) | ${SFTP} -P ${SFTPSERVER} >/dev/null 2>&1 \
86 || fail "get failed" 86 || fail "get failed"
87cmp $DATA ${COPY}.dd/ls || fail "corrupted copy after get" 87cmp $DATA ${COPY}.dd/`basename $DATA` || fail "corrupted copy after get"
88 88
89rm -f ${COPY}.dd/* 89rm -f ${COPY}.dd/*
90verbose "$tid: glob get to local dir" 90verbose "$tid: glob get to local dir"
91echo "lcd ${COPY}.dd\nget /bin/l*" | ${SFTP} -P ${SFTPSERVER} >/dev/null 2>&1 \ 91(echo "lcd ${COPY}.dd"; echo "get /bin/l*") | ${SFTP} -P ${SFTPSERVER} >/dev/null 2>&1 \
92 || fail "get failed" 92 || fail "get failed"
93for x in $GLOBFILES; do 93for x in $GLOBFILES; do
94 cmp /bin/$x ${COPY}.dd/$x || fail "corrupted copy after get" 94 cmp /bin/$x ${COPY}.dd/$x || fail "corrupted copy after get"
@@ -110,7 +110,7 @@ rm -f ${COPY}.dd/*
110verbose "$tid: put to directory" 110verbose "$tid: put to directory"
111echo "put $DATA ${COPY}.dd" | ${SFTP} -P ${SFTPSERVER} >/dev/null 2>&1 \ 111echo "put $DATA ${COPY}.dd" | ${SFTP} -P ${SFTPSERVER} >/dev/null 2>&1 \
112 || fail "put failed" 112 || fail "put failed"
113cmp $DATA ${COPY}.dd/ls || fail "corrupted copy after put" 113cmp $DATA ${COPY}.dd/`basename $DATA` || fail "corrupted copy after put"
114 114
115rm -f ${COPY}.dd/* 115rm -f ${COPY}.dd/*
116verbose "$tid: glob put to directory" 116verbose "$tid: glob put to directory"
@@ -122,13 +122,13 @@ done
122 122
123rm -f ${COPY}.dd/* 123rm -f ${COPY}.dd/*
124verbose "$tid: put to local dir" 124verbose "$tid: put to local dir"
125echo "cd ${COPY}.dd\nput $DATA" | ${SFTP} -P ${SFTPSERVER} >/dev/null 2>&1 \ 125(echo "cd ${COPY}.dd"; echo "put $DATA") | ${SFTP} -P ${SFTPSERVER} >/dev/null 2>&1 \
126 || fail "put failed" 126 || fail "put failed"
127cmp $DATA ${COPY}.dd/ls || fail "corrupted copy after put" 127cmp $DATA ${COPY}.dd/`basename $DATA` || fail "corrupted copy after put"
128 128
129rm -f ${COPY}.dd/* 129rm -f ${COPY}.dd/*
130verbose "$tid: glob put to local dir" 130verbose "$tid: glob put to local dir"
131echo "cd ${COPY}.dd\nput /bin/l*" | ${SFTP} -P ${SFTPSERVER} >/dev/null 2>&1 \ 131(echo "cd ${COPY}.dd"; echo "put /bin/l*") | ${SFTP} -P ${SFTPSERVER} >/dev/null 2>&1 \
132 || fail "put failed" 132 || fail "put failed"
133for x in $GLOBFILES; do 133for x in $GLOBFILES; do
134 cmp /bin/$x ${COPY}.dd/$x || fail "corrupted copy after put" 134 cmp /bin/$x ${COPY}.dd/$x || fail "corrupted copy after put"
diff --git a/regress/sftp.sh b/regress/sftp.sh
index e8d473123..6ed4e9379 100644
--- a/regress/sftp.sh
+++ b/regress/sftp.sh
@@ -3,7 +3,7 @@
3 3
4tid="basic sftp put/get" 4tid="basic sftp put/get"
5 5
6DATA=/bin/ls 6DATA=/bin/ls{EXEEXT}
7COPY=${OBJ}/copy 7COPY=${OBJ}/copy
8 8
9BUFFERSIZE="5 1000 32000 64000" 9BUFFERSIZE="5 1000 32000 64000"
diff --git a/regress/ssh-com-client.sh b/regress/ssh-com-client.sh
index 809736238..fc953228e 100644
--- a/regress/ssh-com-client.sh
+++ b/regress/ssh-com-client.sh
@@ -64,7 +64,7 @@ EOF
64# we need a real server (no ProxyConnect option) 64# we need a real server (no ProxyConnect option)
65start_sshd 65start_sshd
66 66
67DATA=/bin/ls 67DATA=/bin/ls${EXEEXT}
68COPY=${OBJ}/copy 68COPY=${OBJ}/copy
69rm -f ${COPY} 69rm -f ${COPY}
70 70
diff --git a/regress/ssh-com-sftp.sh b/regress/ssh-com-sftp.sh
index 963b40432..760cc9057 100644
--- a/regress/ssh-com-sftp.sh
+++ b/regress/ssh-com-sftp.sh
@@ -3,7 +3,7 @@
3 3
4tid="basic sftp put/get with ssh.com server" 4tid="basic sftp put/get with ssh.com server"
5 5
6DATA=/bin/ls 6DATA=/bin/ls${EXEEXT}
7COPY=${OBJ}/copy 7COPY=${OBJ}/copy
8 8
9BUFFERSIZE="5 1000 32000 64000" 9BUFFERSIZE="5 1000 32000 64000"
diff --git a/regress/stderr-data.sh b/regress/stderr-data.sh
index 0157690b0..1daf79bb5 100644
--- a/regress/stderr-data.sh
+++ b/regress/stderr-data.sh
@@ -3,7 +3,7 @@
3 3
4tid="stderr data transfer" 4tid="stderr data transfer"
5 5
6DATA=/bin/ls 6DATA=/bin/ls${EXEEXT}
7COPY=${OBJ}/copy 7COPY=${OBJ}/copy
8rm -f ${COPY} 8rm -f ${COPY}
9 9
diff --git a/regress/transfer.sh b/regress/transfer.sh
index 31cdc0ce3..13ea367d5 100644
--- a/regress/transfer.sh
+++ b/regress/transfer.sh
@@ -3,7 +3,7 @@
3 3
4tid="transfer data" 4tid="transfer data"
5 5
6DATA=/bin/ls 6DATA=/bin/ls${EXEEXT}
7COPY=${OBJ}/copy 7COPY=${OBJ}/copy
8 8
9for p in 1 2; do 9for p in 1 2; do