freebsd-dev/contrib/netbsd-tests/lib
Alex Richardson 10fc4c3218 Fix two failing tests after ATF update
Since 4581cefc1e
ATF opens the results file on startup. This fixes problems like
capsicumized tests not being able to open the file on exit.

However, this test closes all file descriptors just to check that
socketpair returns fd 3+4 and thereby also closes the ATF results file.
This then results in an EBADF when writing the result so the test is
reported as broken.

While system calls that create new file descriptors (must?) use the lowest
available file descriptor number, it does not seem useful to test this
property here. Drop the check for FD==3/4 to unbreak the testsuite.

We could also try to re-open the results file in ATF if we get a EBADF
error, but that will fail when running under Capsicum.

Reviewed By:	cem
Differential Revision: https://reviews.freebsd.org/D28683
2021-02-15 22:55:12 +00:00
..
csu
libbluetooth
libbpfjit Checkpoint initial integration work 2016-08-12 08:50:05 +00:00
libc Fix two failing tests after ATF update 2021-02-15 22:55:12 +00:00
libcrypt Hack test so that it works on FreeBSD. 2015-12-01 21:22:29 +00:00
libcurses Checkpoint initial integration work 2016-08-12 08:50:05 +00:00
libdes
libevent
libexecinfo MFV r365599: import fix for a libexecinfo warning at higher WARNS 2020-09-10 17:48:27 +00:00
libm Fix lib/msun/test builds on platforms without 80-bit long doubles 2021-02-11 12:01:10 +01:00
libobjc
libposix Merge content currently under test from ^/vendor/NetBSD/tests/dist/@r312123 2017-01-14 06:49:17 +00:00
libppath
libprop
libpthread Significantly speed up libthr/mutex_test and make more reliable 2020-11-26 13:31:57 +00:00
libpthread_dbg Merge content currently under test from ^/vendor/NetBSD/tests/dist/@r312123 2017-01-14 06:49:17 +00:00
librefuse Merge content currently under test from ^/vendor/NetBSD/tests/dist/@r312123 2017-01-14 06:49:17 +00:00
librt librt: tests: fix minor issues with higher WARNS 2020-09-10 17:53:00 +00:00
librumpclient Merge content currently under test from ^/vendor/NetBSD/tests/dist/@r312123 2017-01-14 06:49:17 +00:00
librumphijack Upgrade NetBSD tests to 01.11.2017_23.20 snapshot 2017-01-13 03:33:57 +00:00
libskey
libsljit
libusbhid Upgrade NetBSD tests to 01.11.2017_23.20 snapshot 2017-01-13 03:33:57 +00:00
libutil Checkpoint initial integration work 2016-08-12 08:50:05 +00:00
semaphore Merge content currently under test from ^/vendor/NetBSD/tests/dist/@r312123 2017-01-14 06:49:17 +00:00