summaryrefslogtreecommitdiff
path: root/regress/usr.bin/ssh/forwarding.sh
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2002-03-15 13:08:57 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2002-03-15 13:08:57 +0000
commit97569307e000e086fd6cf20aeaa2dfa10dc5c67d (patch)
tree7558e4bd541518153fc7db49c5234b6e96d2cdf4 /regress/usr.bin/ssh/forwarding.sh
parent841669506a0a2a64f4ab24abde38d5547a842918 (diff)
allow specification of binary-under-test with
$TEST_SSH_{SSH,SSHD,SSHAGENT,SSHADD,SSHKEYGEN,SSHKEYSCAN}
Diffstat (limited to 'regress/usr.bin/ssh/forwarding.sh')
-rw-r--r--regress/usr.bin/ssh/forwarding.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/regress/usr.bin/ssh/forwarding.sh b/regress/usr.bin/ssh/forwarding.sh
index 8f770301c69..7b281c0133d 100644
--- a/regress/usr.bin/ssh/forwarding.sh
+++ b/regress/usr.bin/ssh/forwarding.sh
@@ -1,4 +1,4 @@
-# $OpenBSD: forwarding.sh,v 1.3 2002/02/16 01:09:47 markus Exp $
+# $OpenBSD: forwarding.sh,v 1.4 2002/03/15 13:08:56 markus Exp $
# Placed in the Public Domain.
tid="local and remote forwarding"
@@ -21,10 +21,10 @@ done
for p in 1 2; do
q=`expr 3 - $p`
trace "start forwarding, fork to background"
- ssh -$p -F $OBJ/ssh_config -f $fwd somehost sleep 10
+ ${SSH} -$p -F $OBJ/ssh_config -f $fwd somehost sleep 10
trace "transfer over forwarded channels and check result"
- ssh -$q -F $OBJ/ssh_config -p$last -o 'ConnectionAttempts=4' \
+ ${SSH} -$q -F $OBJ/ssh_config -p$last -o 'ConnectionAttempts=4' \
somehost cat /bin/ls > $OBJ/ls.copy
test -f $OBJ/ls.copy || fail "failed copy /bin/ls"
cmp /bin/ls $OBJ/ls.copy || fail "corrupted copy of /bin/ls"