opnsense-src/tools/regression/lib/libc
Jilles Tjoelker 2973057493 Allow strerror(0) and strerror_r(0, ...).
Of course, strerror_r() may still fail with ERANGE.

Although the POSIX specification said this could fail with EINVAL and
doing this likely indicates invalid use of errno, most other
implementations permitted it, various POSIX testsuites require it to
work (matching the older sys_errlist array) and apparently some
applications depend on it.

PR:		standards/151316
MFC after:	1 week
2011-04-05 21:56:05 +00:00
..
gen Generate some tests for sh's case command from the fnmatch tests. 2010-05-09 16:15:40 +00:00
locale Remove regression tests for the obsolete rune interface. 2004-11-21 03:21:22 +00:00
net Add regression tests for ethers(3) functions, including new _r variants. 2007-05-13 14:03:21 +00:00
nss - Bugs in gethostbyXXX/getipnodebyXXX regression tests fixed. 2007-06-24 06:14:18 +00:00
regex Add a skeleton makefile that runs the tests out of libc/regex/grot. 2004-07-19 09:00:26 +00:00
resolv The NetBSD Foundation has granted permission to remove clause 3 and 4 from 2010-03-03 07:38:12 +00:00
stdio Regression tests for r197752 (handling of empty/NULL buffers). 2009-10-04 19:44:41 +00:00
stdlib Switch over to a different, more flexible test output protocol that's 2004-11-11 19:47:55 +00:00
string Allow strerror(0) and strerror_r(0, ...). 2011-04-05 21:56:05 +00:00