summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
Diffstat (limited to 'regress')
-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