diff options
author | Colin Watson <cjwatson@debian.org> | 2010-03-31 00:48:57 +0100 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2010-03-31 00:48:57 +0100 |
commit | d1a87e462e1db89f19cd960588d0c6b287cb5ccc (patch) | |
tree | f0d13e1687800f36a3c4322b94ac5230ad17bdbf /regress/sftp.sh | |
parent | 964476f91b66c475d5b8fa1e8b28d39a97a1b56e (diff) | |
parent | 004a7fb9c6a00b13dc98f56599918a54a3506d10 (diff) |
merge 5.4p1
Diffstat (limited to 'regress/sftp.sh')
-rw-r--r-- | regress/sftp.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/regress/sftp.sh b/regress/sftp.sh index 0e22f8f6b..f84fa6f4e 100644 --- a/regress/sftp.sh +++ b/regress/sftp.sh | |||
@@ -1,4 +1,4 @@ | |||
1 | # $OpenBSD: sftp.sh,v 1.2 2002/03/27 22:39:52 markus Exp $ | 1 | # $OpenBSD: sftp.sh,v 1.3 2009/08/13 01:11:55 djm Exp $ |
2 | # Placed in the Public Domain. | 2 | # Placed in the Public Domain. |
3 | 3 | ||
4 | tid="basic sftp put/get" | 4 | tid="basic sftp put/get" |
@@ -19,8 +19,8 @@ REQUESTS="1 2 10" | |||
19 | for B in ${BUFFERSIZE}; do | 19 | for B in ${BUFFERSIZE}; do |
20 | for R in ${REQUESTS}; do | 20 | for R in ${REQUESTS}; do |
21 | verbose "test $tid: buffer_size $B num_requests $R" | 21 | verbose "test $tid: buffer_size $B num_requests $R" |
22 | rm -f ${COPY}.1 ${COPY}.2 | 22 | rm -f ${COPY}.1 ${COPY}.2 |
23 | ${SFTP} -P ${SFTPSERVER} -B $B -R $R -b $SFTPCMDFILE \ | 23 | ${SFTP} -D ${SFTPSERVER} -B $B -R $R -b $SFTPCMDFILE \ |
24 | > /dev/null 2>&1 | 24 | > /dev/null 2>&1 |
25 | r=$? | 25 | r=$? |
26 | if [ $r -ne 0 ]; then | 26 | if [ $r -ne 0 ]; then |