summaryrefslogtreecommitdiff
path: root/regress/usr.bin/ssh/yes-head.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/yes-head.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/yes-head.sh')
-rw-r--r--regress/usr.bin/ssh/yes-head.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/usr.bin/ssh/yes-head.sh b/regress/usr.bin/ssh/yes-head.sh
index e8d40084036..f213f6863ca 100644
--- a/regress/usr.bin/ssh/yes-head.sh
+++ b/regress/usr.bin/ssh/yes-head.sh
@@ -1,10 +1,10 @@
-# $OpenBSD: yes-head.sh,v 1.3 2002/02/16 01:09:47 markus Exp $
+# $OpenBSD: yes-head.sh,v 1.4 2002/03/15 13:08:56 markus Exp $
# Placed in the Public Domain.
tid="yes pipe head"
for p in 1 2; do
- lines=`ssh -$p -F $OBJ/ssh_proxy thishost 'yes | head -2000' | (sleep 3 ; wc -l)`
+ lines=`${SSH} -$p -F $OBJ/ssh_proxy thishost 'yes | head -2000' | (sleep 3 ; wc -l)`
if [ $? -ne 0 ]; then
fail "yes|head test failed"
lines = 0;