]> Savannah Git Hosting - gnulib.git/commitdiff
nonblocking-socket tests: Fix failure on OpenBSD 6.0.
authorBruno Haible <bruno@clisp.org>
Wed, 16 Aug 2017 09:04:30 +0000 (11:04 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 16 Aug 2017 09:04:30 +0000 (11:04 +0200)
* tests/test-nonblocking-socket.h (SOCKET_DATA_BLOCK_SIZE): Increase
value for OpenBSD.

ChangeLog
tests/test-nonblocking-socket.h

index 223dfd87db3089700d3a115e5c3307d7293a66e1..227a698767806319e5909229ca2ef8e8934650ef 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2017-08-16  Bruno Haible  <bruno@clisp.org>
+
+       nonblocking-socket tests: Fix failure on OpenBSD 6.0.
+       * tests/test-nonblocking-socket.h (SOCKET_DATA_BLOCK_SIZE): Increase
+       value for OpenBSD.
+
 2017-08-16  Bruno Haible  <bruno@clisp.org>
 
        rename, renameat: Update doc regarding NetBSD.
index 2c0a1d3595d1c0697f908c292165cbee6e919239..837d4ef0fe828bd3dda9ca3819d050eab638a902 100644 (file)
@@ -22,7 +22,7 @@
 
      Linux                           >= 7350000 (depends on circumstances)
      FreeBSD                         >= 107521
-     OpenBSD                         >= 28673
+     OpenBSD                         >= 106430 (depends on circumstances)
      Mac OS X                        >= 680000 (depends on circumstances)
      AIX 5.1                         >= 125713
      AIX 7.1                         >= 200000 (depends on circumstances)
      Cygwin 1.7.x                    >= 163838 (depends on circumstances)
      native Windows                  >= 66294401
  */
-#if defined __OpenBSD__
-# define SOCKET_DATA_BLOCK_SIZE  100000
-#else
-# define SOCKET_DATA_BLOCK_SIZE 1000000
-#endif
+#define SOCKET_DATA_BLOCK_SIZE 1000000
 
 /* On Linux, Mac OS X, Cygwin 1.5.x, native Windows,
    sockets have very large buffers in the kernel, so that write() calls