nonblocking tests: Fix test failure on Linux/MIPS.
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 12 Dec 2011 16:13:33 +0000 (08:13 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 12 Dec 2011 16:14:01 +0000 (08:14 -0800)
Suggested by Prerna Saxena in
<http://lists.gnu.org/archive/html/bug-gnulib/2011-12/msg00080.html>.
* tests/test-nonblocking-pipe.h (PIPE_DATA_BLOCK_SIZE) [Linux/PPC64]:
Set to 1100000.

ChangeLog
tests/test-nonblocking-pipe.h

index 79cbf7e..107c12e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2011-12-12  Paul Eggert  <eggert@cs.ucla.edu>
+
+       nonblocking tests: Fix test failure on Linux/MIPS.
+       Suggested by Prerna Saxena in
+       <http://lists.gnu.org/archive/html/bug-gnulib/2011-12/msg00080.html>.
+       * tests/test-nonblocking-pipe.h (PIPE_DATA_BLOCK_SIZE) [Linux/PPC64]:
+       Set to 1100000.
+
 2011-12-12  Jim Meyering  <meyering@redhat.com>
 
        argmatch: don't hard-code `' when listing valid option arguments
index a7be063..187dbe3 100644 (file)
@@ -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