diff options
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | regress/yes-head.sh | 2 |
2 files changed, 3 insertions, 2 deletions
@@ -1,6 +1,7 @@ | |||
1 | 20030912 | 1 | 20030912 |
2 | - (tim) [regress/agent-ptrace.sh] sh doesn't like "if ! shell_function; then". | 2 | - (tim) [regress/agent-ptrace.sh] sh doesn't like "if ! shell_function; then". |
3 | - (tim) [Makefile.in] only mkdir regress if it does not exist. | 3 | - (tim) [Makefile.in] only mkdir regress if it does not exist. |
4 | - (tim) [regress/yes-head.sh] shell portability fix. | ||
4 | 5 | ||
5 | 20030911 | 6 | 20030911 |
6 | - (dtucker) [configure.ac] Bug #588, #615: Move other libgen tests to after | 7 | - (dtucker) [configure.ac] Bug #588, #615: Move other libgen tests to after |
@@ -1074,4 +1075,4 @@ | |||
1074 | - Fix sshd BindAddress and -b options for systems using fake-getaddrinfo. | 1075 | - Fix sshd BindAddress and -b options for systems using fake-getaddrinfo. |
1075 | Report from murple@murple.net, diagnosis from dtucker@zip.com.au | 1076 | Report from murple@murple.net, diagnosis from dtucker@zip.com.au |
1076 | 1077 | ||
1077 | $Id: ChangeLog,v 1.2984 2003/09/12 20:02:16 tim Exp $ | 1078 | $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 @@ | |||
4 | tid="yes pipe head" | 4 | tid="yes pipe head" |
5 | 5 | ||
6 | for p in 1 2; do | 6 | for p in 1 2; do |
7 | lines=`${SSH} -$p -F $OBJ/ssh_proxy thishost 'while true;do echo yes;done | head -2000' | (sleep 3 ; wc -l)` | 7 | lines=`${SSH} -$p -F $OBJ/ssh_proxy thishost 'sh -c "while true;do echo yes;done | head -2000"' | (sleep 3 ; wc -l)` |
8 | if [ $? -ne 0 ]; then | 8 | if [ $? -ne 0 ]; then |
9 | fail "yes|head test failed" | 9 | fail "yes|head test failed" |
10 | lines = 0; | 10 | lines = 0; |