Add tests for posix_spawn_file_actions_add{chdir,fchdir}_np(3)Reviewed by: kevans, ngie (previous version)Sponsored by: The FreeBSD FoundationMFC after: 1 weekDifferential revision: https://revi
Add tests for posix_spawn_file_actions_add{chdir,fchdir}_np(3)Reviewed by: kevans, ngie (previous version)Sponsored by: The FreeBSD FoundationMFC after: 1 weekDifferential revision: https://reviews.freebsd.org/D33143
show more ...
libc: Fix t_spawn_fileactions test after ATF updateSince https://github.com/freebsd/atf/commit/4581cefc1e3811dd3c926b5dd4b15fd63d2e19daATF opens the results file on startup. This fixes problems li
libc: Fix t_spawn_fileactions test after ATF updateSince https://github.com/freebsd/atf/commit/4581cefc1e3811dd3c926b5dd4b15fd63d2e19daATF opens the results file on startup. This fixes problems likecapsicumized tests not being able to open the file on exit.However, this test closes all file descriptors above 3 to get adeterministic fd table allocation for the child. Instead of using closefrom(which will close the ATF output file FD) I've changed this test usethe lowest available fd and pass that to the helper program as a string.We could also try to re-open the results file in ATF if we get a EBADFerror, but that will fail when running under Capsicum.Reviewed By: cemDifferential Revision: https://reviews.freebsd.org/D28684
Remove sys/param.hIt was used for nitems, but I converted it to __arraycount later, andis already pulled in by header pollution on FreeBSD as well as NetBSDala sys/cdefs.h
Delete trailing whitespace and use __arraycount instead of nitems in contrib codeMFC after: 1 week
Import testcase updates with code contributed back to NetBSDThis also (inadvertently) contains an update tocontrib/netbsd-tests/lib/libc/sys/t_wait.c (new testcases).MFC after: 2 weeksIn colla
Import testcase updates with code contributed back to NetBSDThis also (inadvertently) contains an update tocontrib/netbsd-tests/lib/libc/sys/t_wait.c (new testcases).MFC after: 2 weeksIn collaboration with: christos@NetBSD.org
Checkpoint initial integration work- Some of the lib/libc and lib/thr tests fail- lib/msun/exp_test:exp2_values now passes with clang 3.8.0The Makefiles in contrib/netbsd-tests were pruned as th
Checkpoint initial integration work- Some of the lib/libc and lib/thr tests fail- lib/msun/exp_test:exp2_values now passes with clang 3.8.0The Makefiles in contrib/netbsd-tests were pruned as they have no valueSponsored by: EMC / Isilon Storage Division
Fix t_spawnattr test for attributes handling by posix_spawn(3).Connect it to the build.The code assumed that SCHED_* constants form a contiguous set ofnumbers, remove the assumption by using sche
Fix t_spawnattr test for attributes handling by posix_spawn(3).Connect it to the build.The code assumed that SCHED_* constants form a contiguous set ofnumbers, remove the assumption by using schedulers[] array inget_different_scheduler(). This is no-op on FreeBSD, but improvescode portability.The selection of different priority used the min/max priority range ofthe current scheduler class, instead of the priority to be changed to.The bug caused the test failure.Remove duplication of POSIX_SPAWN_SETSIGDEF flag and now unusedduplications of MIN/MAX definitions.Reviewed by: jilles, phoSponsored by: The FreeBSD FoundationMFC after: 1 weekDifferential Revision: https://reviews.freebsd.org/D3533
Mechanically replace #if defined(__FreeBSD__) and #if defined(__NetBSD__) withtheir #ifdef equivalents for everything changed in contrib/netbsd-tests. Thereare some items from the vendor tree that
Mechanically replace #if defined(__FreeBSD__) and #if defined(__NetBSD__) withtheir #ifdef equivalents for everything changed in contrib/netbsd-tests. Thereare some items from the vendor tree that use #if defined(__FreeBSD__) or#if defined(__NetBSD__) which are being left aloneRequested by: bde, rpauloSponsored by: EMC / Isilon Storage Division
Skip over t_spawn_open_nonexistent_diag because it requires NetBSD specificadditions to posix_spawnSponsored by: EMC / Isilon Storage Division
Import the NetBSD test suite from ^/vendor/NetBSD/tests/09.30.2014_20.45 ,minus the vendor MakefilesProvide directions for how to bootstrap the vendor sources inFREEBSD-upgradeMFC after 2 weeks
Import the NetBSD test suite from ^/vendor/NetBSD/tests/09.30.2014_20.45 ,minus the vendor MakefilesProvide directions for how to bootstrap the vendor sources inFREEBSD-upgradeMFC after 2 weeksDiscussed with: rpauloSponsored by: EMC / Isilon Storage Division