diff --git a/ChangeLog b/ChangeLog index 914995c9f..2d914f7d7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,7 @@ 20030912 - (tim) [regress/agent-ptrace.sh] sh doesn't like "if ! shell_function; then". - (tim) [Makefile.in] only mkdir regress if it does not exist. + - (tim) [regress/yes-head.sh] shell portability fix. 20030911 - (dtucker) [configure.ac] Bug #588, #615: Move other libgen tests to after @@ -1074,4 +1075,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.2984 2003/09/12 20:02:16 tim Exp $ +$Id: ChangeLog,v 1.2985 2003/09/12 20:21:14 tim Exp $ diff --git a/regress/yes-head.sh b/regress/yes-head.sh index 88146a066..17a4d0dd4 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 'while true;do echo yes;done | head -2000' | (sleep 3 ; wc -l)` + lines=`${SSH} -$p -F $OBJ/ssh_proxy thishost 'sh -c "while true;do echo yes;done | head -2000"' | (sleep 3 ; wc -l)` if [ $? -ne 0 ]; then fail "yes|head test failed" lines = 0;