diff options
-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 b8e9f7527..a5c88f584 100644 --- a/regress/sftp.sh +++ b/regress/sftp.sh | |||
@@ -1,4 +1,4 @@ | |||
1 | # $OpenBSD: sftp.sh,v 1.5 2013/05/17 10:28:11 dtucker Exp $ | 1 | # $OpenBSD: sftp.sh,v 1.6 2017/10/30 21:59:43 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" |
@@ -22,11 +22,11 @@ for B in ${BUFFERSIZE}; do | |||
22 | r=$? | 22 | r=$? |
23 | if [ $r -ne 0 ]; then | 23 | if [ $r -ne 0 ]; then |
24 | fail "sftp failed with $r" | 24 | fail "sftp failed with $r" |
25 | else | 25 | else |
26 | cmp $DATA ${COPY}.1 || fail "corrupted copy after get" | 26 | cmp $DATA ${COPY}.1 || fail "corrupted copy after get" |
27 | cmp $DATA ${COPY}.2 || fail "corrupted copy after put" | 27 | cmp $DATA ${COPY}.2 || fail "corrupted copy after put" |
28 | fi | 28 | fi |
29 | done | 29 | done |
30 | done | 30 | done |
31 | rm -f ${COPY}.1 ${COPY}.2 | 31 | rm -f ${COPY}.1 ${COPY}.2 |
32 | rm -f $SFTPCMDFILE | 32 | rm -f $SFTPCMDFILE |