#
10fc4c32 |
| 15-Feb-2021 |
Alex Richardson <arichardson@FreeBSD.org> |
Fix two failing tests after ATF update
Since https://github.com/freebsd/atf/commit/4581cefc1e3811dd3c926b5dd4b15fd63d2e19da ATF opens the results file on startup. This fixes problems like capsicumiz
Fix two failing tests after ATF update
Since https://github.com/freebsd/atf/commit/4581cefc1e3811dd3c926b5dd4b15fd63d2e19da 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
show more ...
|
#
63d1fd59 |
| 14-Jan-2017 |
Enji Cooper <ngie@FreeBSD.org> |
Merge content currently under test from ^/vendor/NetBSD/tests/dist/@r312123
Sponsored by: Dell EMC Isilon
|
#
ff0ba872 |
| 17-Nov-2014 |
Enji Cooper <ngie@FreeBSD.org> |
Mechanically replace #if defined(__FreeBSD__) and #if defined(__NetBSD__) with their #ifdef equivalents for everything changed in contrib/netbsd-tests. There are some items from the vendor tree that
Mechanically replace #if defined(__FreeBSD__) and #if defined(__NetBSD__) with their #ifdef equivalents for everything changed in contrib/netbsd-tests. There are some items from the vendor tree that use #if defined(__FreeBSD__) or #if defined(__NetBSD__) which are being left alone
Requested by: bde, rpaulo Sponsored by: EMC / Isilon Storage Division
show more ...
|
#
10ee7489 |
| 23-Oct-2014 |
Enji Cooper <ngie@FreeBSD.org> |
Port t_pipe2.c to FreeBSD
- Omit the pipe2_nosigpipe testcase on FreeBSD (FreeBSD doesn't have O_NOSIGPIPE). - Convert "fcntl(n, F_CLOSEM)" to "closefrom(n)". - Save and restore the resource limit
Port t_pipe2.c to FreeBSD
- Omit the pipe2_nosigpipe testcase on FreeBSD (FreeBSD doesn't have O_NOSIGPIPE). - Convert "fcntl(n, F_CLOSEM)" to "closefrom(n)". - Save and restore the resource limit on the number of files (RLIMIT_NOFILE).
In collaboration with: pho Sponsored by: EMC / Isilon Storage Division
show more ...
|
#
57718be8 |
| 02-Oct-2014 |
Enji Cooper <ngie@FreeBSD.org> |
Import the NetBSD test suite from ^/vendor/NetBSD/tests/09.30.2014_20.45 , minus the vendor Makefiles
Provide directions for how to bootstrap the vendor sources in FREEBSD-upgrade
MFC after 2 weeks
Import the NetBSD test suite from ^/vendor/NetBSD/tests/09.30.2014_20.45 , minus the vendor Makefiles
Provide directions for how to bootstrap the vendor sources in FREEBSD-upgrade
MFC after 2 weeks Discussed with: rpaulo Sponsored by: EMC / Isilon Storage Division
show more ...
|