diff options
author | Darren Tucker <dtucker@zip.com.au> | 2003-09-10 20:17:40 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2003-09-10 20:17:40 +1000 |
commit | 9a959ea1b5d59f8c3de9cb17c10dd2260117f877 (patch) | |
tree | 14b426f6fdb27b2eed4400dafb4a186c63dec326 | |
parent | b2427c82bb8e152c1c792302b60a823268654824 (diff) |
- (dtucker) [regressh/yes-head.sh] Some platforms (eg Solaris) don't have
"yes".
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | regress/yes-head.sh | 2 |
2 files changed, 4 insertions, 2 deletions
@@ -2,6 +2,8 @@ | |||
2 | - (dtucker) [configure.ac] Bug #636: Add support for Cray's new X1 machine. | 2 | - (dtucker) [configure.ac] Bug #636: Add support for Cray's new X1 machine. |
3 | Patch from wendyp at cray.com. | 3 | Patch from wendyp at cray.com. |
4 | - (dtucker) [configure.ac] Part of bug #615: tcsendbreak might be a macro. | 4 | - (dtucker) [configure.ac] Part of bug #615: tcsendbreak might be a macro. |
5 | - (dtucker) [regressh/yes-head.sh] Some platforms (eg Solaris) don't have | ||
6 | "yes". | ||
5 | 7 | ||
6 | 20030909 | 8 | 20030909 |
7 | - (tim) [regress/Makefile] Fixes for building outside of a read-only | 9 | - (tim) [regress/Makefile] Fixes for building outside of a read-only |
@@ -1057,4 +1059,4 @@ | |||
1057 | - Fix sshd BindAddress and -b options for systems using fake-getaddrinfo. | 1059 | - Fix sshd BindAddress and -b options for systems using fake-getaddrinfo. |
1058 | Report from murple@murple.net, diagnosis from dtucker@zip.com.au | 1060 | Report from murple@murple.net, diagnosis from dtucker@zip.com.au |
1059 | 1061 | ||
1060 | $Id: ChangeLog,v 1.2977 2003/09/10 05:22:44 dtucker Exp $ | 1062 | $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 @@ | |||
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 'yes | head -2000' | (sleep 3 ; wc -l)` | 7 | lines=`${SSH} -$p -F $OBJ/ssh_proxy thishost '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; |