From: Bruno Haible Date: Thu, 27 Oct 2011 19:12:12 +0000 (+0200) Subject: nonblocking tests: Fix test failure on Linux/MIPS. X-Git-Tag: v0.1~1534 X-Git-Url: http://erislabs.net/gitweb/?a=commitdiff_plain;h=00c36a3c1f4c4499f52684083b07dbee385881ea;p=gnulib.git nonblocking tests: Fix test failure on Linux/MIPS. * tests/test-nonblocking-pipe.h (PIPE_DATA_BLOCK_SIZE) [Linux/MIPS]: Set to 270000. --- diff --git a/ChangeLog b/ChangeLog index 5fd57d349..a88c69861 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2011-10-27 Bruno Haible + nonblocking tests: Fix test failure on Linux/MIPS. + * tests/test-nonblocking-pipe.h (PIPE_DATA_BLOCK_SIZE) [Linux/MIPS]: + Set to 270000. + +2011-10-27 Bruno Haible + utimensat: Work around problem on Linux/hppa. * lib/utimensat.c (rpl_utimensat) [Linux/hppa]: Reject invalid tv_nsec values. diff --git a/tests/test-nonblocking-pipe.h b/tests/test-nonblocking-pipe.h index 6a13f6bf4..a7be0639e 100644 --- a/tests/test-nonblocking-pipe.h +++ b/tests/test-nonblocking-pipe.h @@ -22,7 +22,7 @@ Linux >= 63489 Linux/SPARC >= 126977 - Linux/IA-64 >= 253953 + Linux/IA-64, Linux/MIPS >= 253953 FreeBSD, OpenBSD, MacOS X >= 65537 AIX >= 32769 HP-UX >= 8193 @@ -33,7 +33,7 @@ Cygwin >= 65537 native Win32 >= 4097 (depends on the _pipe argument) */ -#if defined __osf__ || (defined __linux__ && defined __ia64__) +#if defined __osf__ || (defined __linux__ && (defined __ia64__ || defined __mips__)) # define PIPE_DATA_BLOCK_SIZE 270000 #elif defined __linux__ && defined __sparc__ # define PIPE_DATA_BLOCK_SIZE 140000