# HG changeset patch # User Paul Eggert # Date 1323706413 28800 # Node ID c05271feab75d9f4d9193ba9c09cd96538118de0 # Parent 26326fda1844fc5536c7d9b97fc7ece9474a80ff nonblocking tests: Fix test failure on Linux/MIPS. Suggested by Prerna Saxena in . * tests/test-nonblocking-pipe.h (PIPE_DATA_BLOCK_SIZE) [Linux/PPC64]: Set to 1100000. diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2011-12-12 Paul Eggert + + nonblocking tests: Fix test failure on Linux/MIPS. + Suggested by Prerna Saxena in + . + * tests/test-nonblocking-pipe.h (PIPE_DATA_BLOCK_SIZE) [Linux/PPC64]: + Set to 1100000. + 2011-12-12 Jim Meyering argmatch: don't hard-code `' when listing valid option arguments diff --git a/tests/test-nonblocking-pipe.h b/tests/test-nonblocking-pipe.h --- a/tests/test-nonblocking-pipe.h +++ b/tests/test-nonblocking-pipe.h @@ -23,6 +23,7 @@ Linux >= 63489 Linux/SPARC >= 126977 Linux/IA-64, Linux/MIPS >= 253953 + Linux/PPC64 >= 1048576 FreeBSD, OpenBSD, MacOS X >= 65537 AIX >= 32769 HP-UX >= 8193 @@ -37,6 +38,8 @@ # define PIPE_DATA_BLOCK_SIZE 270000 #elif defined __linux__ && defined __sparc__ # define PIPE_DATA_BLOCK_SIZE 140000 +#elif defined __linux__ && defined __powerpc__ +# define PIPE_DATA_BLOCK_SIZE 1100000 #else # define PIPE_DATA_BLOCK_SIZE 70000 #endif