From 9a959ea1b5d59f8c3de9cb17c10dd2260117f877 Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Wed, 10 Sep 2003 20:17:40 +1000 Subject: [PATCH] - (dtucker) [regressh/yes-head.sh] Some platforms (eg Solaris) don't have "yes". --- ChangeLog | 4 +++- regress/yes-head.sh | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 42538f60b..3a2a38fde 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,8 @@ - (dtucker) [configure.ac] Bug #636: Add support for Cray's new X1 machine. Patch from wendyp at cray.com. - (dtucker) [configure.ac] Part of bug #615: tcsendbreak might be a macro. + - (dtucker) [regressh/yes-head.sh] Some platforms (eg Solaris) don't have + "yes". 20030909 - (tim) [regress/Makefile] Fixes for building outside of a read-only @@ -1057,4 +1059,4 @@ - Fix sshd BindAddress and -b options for systems using fake-getaddrinfo. Report from murple@murple.net, diagnosis from dtucker@zip.com.au -$Id: ChangeLog,v 1.2977 2003/09/10 05:22:44 dtucker Exp $ +$Id: ChangeLog,v 1.2978 2003/09/10 10:17:40 dtucker Exp $ diff --git a/regress/yes-head.sh b/regress/yes-head.sh index f213f6863..88146a066 100644 --- a/regress/yes-head.sh +++ b/regress/yes-head.sh @@ -4,7 +4,7 @@ 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 'while true;do echo yes;done | head -2000' | (sleep 3 ; wc -l)` if [ $? -ne 0 ]; then fail "yes|head test failed" lines = 0;