From: Bruno Haible Date: Sat, 1 Oct 2011 09:23:31 +0000 (+0200) Subject: nonblocking tests: Fix test failure on Linux/IA-64. X-Git-Tag: v0.1~1721 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=73a1c0263b9f030588b5a48992ced587fc321317;p=gnulib.git nonblocking tests: Fix test failure on Linux/IA-64. * tests/test-nonblocking-pipe.h (PIPE_DATA_BLOCK_SIZE) [Linux/IA-64]: Set to 270000. --- diff --git a/ChangeLog b/ChangeLog index a07066905..5c31c251a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2011-10-01 Bruno Haible + nonblocking tests: Fix test failure on Linux/IA-64. + * tests/test-nonblocking-pipe.h (PIPE_DATA_BLOCK_SIZE) [Linux/IA-64]: + Set to 270000. + +2011-10-01 Bruno Haible + mkfifoat tests: Fix a test failure on mingw. * tests/test-mkfifoat.c (main): Allow mkfifoat or test_mknodat to fail with error ENOSYS. diff --git a/tests/test-nonblocking-pipe.h b/tests/test-nonblocking-pipe.h index 5e9319987..6a13f6bf4 100644 --- a/tests/test-nonblocking-pipe.h +++ b/tests/test-nonblocking-pipe.h @@ -22,6 +22,7 @@ Linux >= 63489 Linux/SPARC >= 126977 + Linux/IA-64 >= 253953 FreeBSD, OpenBSD, MacOS X >= 65537 AIX >= 32769 HP-UX >= 8193 @@ -32,7 +33,7 @@ Cygwin >= 65537 native Win32 >= 4097 (depends on the _pipe argument) */ -#if defined __osf__ +#if defined __osf__ || (defined __linux__ && defined __ia64__) # define PIPE_DATA_BLOCK_SIZE 270000 #elif defined __linux__ && defined __sparc__ # define PIPE_DATA_BLOCK_SIZE 140000