nonblocking tests: Fix test failure on Linux/SPARC (32-bit and 64-bit).
[gnulib.git] / tests / test-nonblocking-pipe.h
index c4e6561..5e93199 100644 (file)
@@ -21,6 +21,7 @@
      Platform                        PIPE_DATA_BLOCK_SIZE
 
      Linux                           >= 63489
+     Linux/SPARC                     >= 126977
      FreeBSD, OpenBSD, MacOS X       >= 65537
      AIX                             >= 32769
      HP-UX                           >= 8193
@@ -33,6 +34,8 @@
  */
 #if defined __osf__
 # define PIPE_DATA_BLOCK_SIZE 270000
+#elif defined __linux__ && defined __sparc__
+# define PIPE_DATA_BLOCK_SIZE 140000
 #else
 # define PIPE_DATA_BLOCK_SIZE 70000
 #endif