From 473d6558d51b4bac87f853d32d1782228c92843a Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Mon, 12 Dec 2011 08:13:33 -0800 Subject: [PATCH] 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. --- ChangeLog | 8 ++++++++ tests/test-nonblocking-pipe.h | 3 +++ 2 files changed, 11 insertions(+) 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 -- 2.11.0