diff options
Diffstat (limited to 'regress/multiplex.sh')
-rw-r--r-- | regress/multiplex.sh | 6 |
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 | ||
4 | CTL=$OBJ/ctl-sock | 4 | CTL=$OBJ/ctl-sock |
@@ -37,13 +37,13 @@ cmp ${DATA} ${COPY} || fail "ssh -S ctl: corrupted copy of ${DATA}" | |||
37 | rm -f ${COPY} | 37 | rm -f ${COPY} |
38 | trace "sftp transfer over multiplexed connection and check result" | 38 | trace "sftp transfer over multiplexed connection and check result" |
39 | echo "get ${DATA} ${COPY}" | \ | 39 | echo "get ${DATA} ${COPY}" | \ |
40 | ${SFTP} -oControlPath=$CTL otherhost >/dev/null 2>&1 | 40 | ${SFTP} -S ${SSH} -oControlPath=$CTL otherhost >/dev/null 2>&1 |
41 | test -f ${COPY} || fail "sftp: failed copy ${DATA}" | 41 | test -f ${COPY} || fail "sftp: failed copy ${DATA}" |
42 | cmp ${DATA} ${COPY} || fail "sftp: corrupted copy of ${DATA}" | 42 | cmp ${DATA} ${COPY} || fail "sftp: corrupted copy of ${DATA}" |
43 | 43 | ||
44 | rm -f ${COPY} | 44 | rm -f ${COPY} |
45 | trace "scp transfer over multiplexed connection and check result" | 45 | trace "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 |
47 | test -f ${COPY} || fail "scp: failed copy ${DATA}" | 47 | test -f ${COPY} || fail "scp: failed copy ${DATA}" |
48 | cmp ${DATA} ${COPY} || fail "scp: corrupted copy of ${DATA}" | 48 | cmp ${DATA} ${COPY} || fail "scp: corrupted copy of ${DATA}" |
49 | 49 | ||