Mercurial > hg > octave-lyh > gnulib-hg
changeset 15805:13800aa629b2
nonblocking tests: Fix test failure on Linux/IA-64.
* tests/test-nonblocking-pipe.h (PIPE_DATA_BLOCK_SIZE) [Linux/IA-64]:
Set to 270000.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sat, 01 Oct 2011 11:23:31 +0200 |
parents | be336f2b1e9b |
children | 415e173adff1 |
files | ChangeLog tests/test-nonblocking-pipe.h |
diffstat | 2 files changed, 8 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2011-10-01 Bruno Haible <bruno@clisp.org> + + nonblocking tests: Fix test failure on Linux/IA-64. + * tests/test-nonblocking-pipe.h (PIPE_DATA_BLOCK_SIZE) [Linux/IA-64]: + Set to 270000. + 2011-10-01 Bruno Haible <bruno@clisp.org> mkfifoat tests: Fix a test failure on mingw.
--- a/tests/test-nonblocking-pipe.h +++ b/tests/test-nonblocking-pipe.h @@ -22,6 +22,7 @@ Linux >= 63489 Linux/SPARC >= 126977 + Linux/IA-64 >= 253953 FreeBSD, OpenBSD, MacOS X >= 65537 AIX >= 32769 HP-UX >= 8193 @@ -32,7 +33,7 @@ Cygwin >= 65537 native Win32 >= 4097 (depends on the _pipe argument) */ -#if defined __osf__ +#if defined __osf__ || (defined __linux__ && defined __ia64__) # define PIPE_DATA_BLOCK_SIZE 270000 #elif defined __linux__ && defined __sparc__ # define PIPE_DATA_BLOCK_SIZE 140000