summaryrefslogtreecommitdiff
path: root/regress/forwarding.sh
diff options
context:
space:
mode:
Diffstat (limited to 'regress/forwarding.sh')
-rw-r--r--regress/forwarding.sh9
1 files changed, 4 insertions, 5 deletions
diff --git a/regress/forwarding.sh b/regress/forwarding.sh
index 6a7003070..2ba140fee 100644
--- a/regress/forwarding.sh
+++ b/regress/forwarding.sh
@@ -1,8 +1,7 @@
1# $OpenBSD: forwarding.sh,v 1.9 2013/04/07 02:16:03 dtucker Exp $ 1# $OpenBSD: forwarding.sh,v 1.10 2013/05/17 04:29:14 dtucker Exp $
2# Placed in the Public Domain. 2# Placed in the Public Domain.
3 3
4tid="local and remote forwarding" 4tid="local and remote forwarding"
5DATA=/bin/ls${EXEEXT}
6 5
7start_sshd 6start_sshd
8 7
@@ -26,9 +25,9 @@ for p in 1 2; do
26 25
27 trace "transfer over forwarded channels and check result" 26 trace "transfer over forwarded channels and check result"
28 ${SSH} -$q -F $OBJ/ssh_config -p$last -o 'ConnectionAttempts=4' \ 27 ${SSH} -$q -F $OBJ/ssh_config -p$last -o 'ConnectionAttempts=4' \
29 somehost cat $DATA > $OBJ/ls.copy 28 somehost cat ${DATA} > ${COPY}
30 test -f $OBJ/ls.copy || fail "failed copy $DATA" 29 test -f ${COPY} || fail "failed copy of ${DATA}"
31 cmp $DATA $OBJ/ls.copy || fail "corrupted copy of $DATA" 30 cmp ${DATA} ${COPY} || fail "corrupted copy of ${DATA}"
32 31
33 sleep 10 32 sleep 10
34done 33done