- (dtucker) [regressh/yes-head.sh] Some platforms (eg Solaris) don't have

"yes".
This commit is contained in:
Darren Tucker 2003-09-10 20:17:40 +10:00
parent b2427c82bb
commit 9a959ea1b5
2 changed files with 4 additions and 2 deletions

View File

@ -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 $

View File

@ -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;