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 70a4e677f..9940f15cb 100644
--- a/regress/multiplex.sh
+++ b/regress/multiplex.sh
@@ -1,4 +1,4 @@
1# $OpenBSD: multiplex.sh,v 1.1 2004/06/13 15:04:08 djm Exp $ 1# $OpenBSD: multiplex.sh,v 1.2 2004/06/16 13:16:40 dtucker Exp $
2# Placed in the Public Domain. 2# Placed in the Public Domain.
3 3
4CTL=$OBJ/ctl-sock 4CTL=$OBJ/ctl-sock
@@ -23,13 +23,13 @@ cmp /bin/ls $OBJ/ls.copy || fail "corrupted copy of /bin/ls"
23rm -f $OBJ/ls.copy 23rm -f $OBJ/ls.copy
24trace "sftp transfer over multiplexed connection and check result" 24trace "sftp transfer over multiplexed connection and check result"
25echo "get /bin/ls $OBJ/ls.copy" | \ 25echo "get /bin/ls $OBJ/ls.copy" | \
26 ${SFTP} -oControlPath=$CTL otherhost 26 ${SFTP} -oControlPath=$CTL otherhost >/dev/null 2>&1
27test -f $OBJ/ls.copy || fail "failed copy /bin/ls" 27test -f $OBJ/ls.copy || fail "failed copy /bin/ls"
28cmp /bin/ls $OBJ/ls.copy || fail "corrupted copy of /bin/ls" 28cmp /bin/ls $OBJ/ls.copy || fail "corrupted copy of /bin/ls"
29 29
30rm -f $OBJ/ls.copy 30rm -f $OBJ/ls.copy
31trace "scp transfer over multiplexed connection and check result" 31trace "scp transfer over multiplexed connection and check result"
32${SCP} -oControlPath=$CTL otherhost:/bin/ls $OBJ/ls.copy 32${SCP} -oControlPath=$CTL otherhost:/bin/ls $OBJ/ls.copy >/dev/null 2>&1
33test -f $OBJ/ls.copy || fail "failed copy /bin/ls" 33test -f $OBJ/ls.copy || fail "failed copy /bin/ls"
34cmp /bin/ls $OBJ/ls.copy || fail "corrupted copy of /bin/ls" 34cmp /bin/ls $OBJ/ls.copy || fail "corrupted copy of /bin/ls"
35 35