* tests/test-select.c (test_accept_first, test_socket_pair): Ignore
failure of closing the last socket; it may fail with ECONNRESET.
+2010-12-24 Bruno Haible <bruno@clisp.org>
+
+ select tests: Avoid failures on OSF/1 5.1.
+ * tests/test-select.c (test_accept_first, test_socket_pair): Ignore
+ failure of closing the last socket; it may fail with ECONNRESET.
+
2010-12-24 Eric Blake <eblake@redhat.com>
stdint: avoid HP-UX 10.20 preprocessor bug
failed ("cannot read data left in the socket by closed process");
ASSERT (read (c, buf, 3) == 3);
ASSERT (write (c, "foo", 3) == 3);
- ASSERT (close (c) == 0);
+ (void) close (c); /* may fail with errno = ECONNRESET */
}
#endif
}
test_pair (c1, c2);
ASSERT (close (c1) == 0);
ASSERT (write (c2, "foo", 3) == 3);
- ASSERT (close (c2) == 0);
+ (void) close (c2); /* may fail with errno = ECONNRESET */
}