freebsd-dev/lib/libc/tests
Konstantin Belousov 3cc31a047e 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 of
numbers, remove the assumption by using schedulers[] array in
get_different_scheduler().  This is no-op on FreeBSD, but improves
code portability.

The selection of different priority used the min/max priority range of
the 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 unused
duplications of MIN/MAX definitions.

Reviewed by:	jilles, pho
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D3533
2015-09-01 12:47:11 +00:00
..
c063 Enable utimensat tests from NetBSD. 2015-01-24 15:49:40 +00:00
db Assuming a system has /bin/csh on it is a bad idea (especially it being 2015-04-25 04:35:43 +00:00
gen Fix t_spawnattr test for attributes handling by posix_spawn(3). 2015-09-01 12:47:11 +00:00
hash Build/install lib/libc/tests/hash/t_sha2 if MK_OPENSSL == yes 2014-12-27 20:48:36 +00:00
inet
locale Fix and re-enable UTF-8 tests. 2015-08-11 21:59:36 +00:00
net
regex
rpc
setjmp
ssp Don't install h_raw if dealing with clang 3.5.0+ to unbreak the tests2 Jenkins 2015-01-02 05:40:02 +00:00
stdio Convert tools/regression/lib/libc/stdio/test-fmemopen into an ATF testcase and 2014-11-16 19:57:47 +00:00
stdlib
string
sys On arm64 disable three tests that hang or panic 2015-08-17 23:19:36 +00:00
termios
time
tls
tls_dso
ttyio
Makefile
Makefile.netbsd-tests