summaryrefslogtreecommitdiff
path: root/regress/multiplex.sh
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2004-06-18 16:25:35 +1000
committerDarren Tucker <dtucker@zip.com.au>2004-06-18 16:25:35 +1000
commit6288dc14fcce8f88216506ac3226849c3e43cfa7 (patch)
tree87eb6e2a6d7870110690d6959dff484709edf5e2 /regress/multiplex.sh
parentbd12f1741e9ea6432d5ca7006c4cf2553aebbdbf (diff)
- dtucker@cvs.openbsd.org 2004/06/18 06:15:51
[multiplex.sh] Use -S for scp/sftp to force the use of the ssh being tested. ok djm@,markus@
Diffstat (limited to 'regress/multiplex.sh')
-rw-r--r--regress/multiplex.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/regress/multiplex.sh b/regress/multiplex.sh
index c19c0fe17..c167b9632 100644
--- a/regress/multiplex.sh
+++ b/regress/multiplex.sh
@@ -1,4 +1,4 @@
1# $OpenBSD: multiplex.sh,v 1.6 2004/06/17 14:53:27 djm Exp $ 1# $OpenBSD: multiplex.sh,v 1.7 2004/06/18 06:15:51 dtucker Exp $
2# Placed in the Public Domain. 2# Placed in the Public Domain.
3 3
4CTL=$OBJ/ctl-sock 4CTL=$OBJ/ctl-sock
@@ -37,13 +37,13 @@ cmp ${DATA} ${COPY} || fail "ssh -S ctl: corrupted copy of ${DATA}"
37rm -f ${COPY} 37rm -f ${COPY}
38trace "sftp transfer over multiplexed connection and check result" 38trace "sftp transfer over multiplexed connection and check result"
39echo "get ${DATA} ${COPY}" | \ 39echo "get ${DATA} ${COPY}" | \
40 ${SFTP} -oControlPath=$CTL otherhost >/dev/null 2>&1 40 ${SFTP} -S ${SSH} -oControlPath=$CTL otherhost >/dev/null 2>&1
41test -f ${COPY} || fail "sftp: failed copy ${DATA}" 41test -f ${COPY} || fail "sftp: failed copy ${DATA}"
42cmp ${DATA} ${COPY} || fail "sftp: corrupted copy of ${DATA}" 42cmp ${DATA} ${COPY} || fail "sftp: corrupted copy of ${DATA}"
43 43
44rm -f ${COPY} 44rm -f ${COPY}
45trace "scp transfer over multiplexed connection and check result" 45trace "scp transfer over multiplexed connection and check result"
46${SCP} -oControlPath=$CTL otherhost:${DATA} ${COPY} >/dev/null 2>&1 46${SCP} -S ${SSH} -oControlPath=$CTL otherhost:${DATA} ${COPY} >/dev/null 2>&1
47test -f ${COPY} || fail "scp: failed copy ${DATA}" 47test -f ${COPY} || fail "scp: failed copy ${DATA}"
48cmp ${DATA} ${COPY} || fail "scp: corrupted copy of ${DATA}" 48cmp ${DATA} ${COPY} || fail "scp: corrupted copy of ${DATA}"
49 49