From: Paul Eggert Date: Mon, 12 Dec 2011 16:13:33 +0000 (-0800) Subject: nonblocking tests: Fix test failure on Linux/MIPS. X-Git-Tag: v0.1~1365 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=473d6558d51b4bac87f853d32d1782228c92843a;p=gnulib.git 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 index 79cbf7ebb..107c12edc 100644 --- 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 index a7be0639e..187dbe395 100644 --- 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