libbsd/test
Guillem Jover e50896286c build: Do not require funopen() to be ported
This function cannot be easily and (more importantly) correctly ported
without cooperation from the libc stdio layer. We already document that
users should be prepared to have the function not available on some
platforms and that they should ideally switch their code to other
more portable and better interfaces.

Instead of making the build fail, and requiring porters to add
exceptions for something that most probably cannot be ported correctly
anyway, simply print a warning and let it build. This will not be a
regression because on those systems libbsd would have never been built
before.

Prompted-by: Jens Finkhaeuser <jens@finkhaeuser.de>
2022-11-24 23:23:33 +01:00
..
.gitignore test: Import explicit_bzero and strtonum test cases from OpenBSD 2022-01-29 14:54:24 +01:00
arc4random.c test: Fix success return code for arc4random unit test 2016-01-11 02:35:34 +01:00
bzero.c test: Add proper prototypes for main() function 2021-02-28 05:30:31 +01:00
closefrom.c test: Add proper prototypes for main() function 2021-02-28 05:30:31 +01:00
endian.c test: Add proper prototypes for main() function 2021-02-28 05:30:31 +01:00
explicit_bzero.c test: Fix explicit_bzero() test on the Hurd 2022-10-04 04:29:37 +02:00
fgetln.c test: Check that strdup() does not fail 2021-11-27 23:42:37 +01:00
fparseln.c test: Fix pipe_feed() to allow checking fprintf format strings 2021-11-27 05:06:14 +01:00
fpurge.c test: Add fpurge() test case using open_memstream(3) FILE 2022-01-29 14:10:55 +01:00
funopen.c test: Do not pass NULL as the first funopen() argument 2021-11-27 05:06:14 +01:00
headers-overlay.sh test: Fix race condition in headers-*.sh 2016-01-10 17:36:34 +01:00
headers-system.sh test: Fix race condition in headers-*.sh 2016-01-10 17:36:34 +01:00
humanize.c Fix dehumanize_number() to correctly detect overflows 2013-10-21 05:29:37 +02:00
Makefile.am build: Do not require funopen() to be ported 2022-11-24 23:23:33 +01:00
md5.c test: Add proper prototypes for main() function 2021-02-28 05:30:31 +01:00
nlist.c test: Explicitly mark symbols as used 2021-11-27 06:52:17 +01:00
overlay.c test: Add proper prototypes for main() function 2021-02-28 05:30:31 +01:00
proctitle.c test: Check asprintf() return code 2015-11-30 23:48:50 +01:00
progname.c test: Handle libtool executable names in getprogname() unit test 2017-06-24 16:05:50 +02:00
pwcache.c Import pwcache module from OpenBSD 2021-02-07 01:28:27 +01:00
setmode.c Update copyright claims 2021-02-07 01:28:27 +01:00
strl.c test: Add unit test for strlcpy() and strlcat() 2017-06-09 05:47:07 +02:00
strmode.c test: Add missing <sys/stat.h> include 2016-01-27 15:24:39 +01:00
strnstr.c test: Improve code coverage for strnstr(3) unit tests 2021-02-07 23:24:51 +01:00
strtonum.c test: Import explicit_bzero and strtonum test cases from OpenBSD 2022-01-29 14:54:24 +01:00
test-stream.c test: Fix pipe_feed() to allow checking fprintf format strings 2021-11-27 05:06:14 +01:00
test-stream.h test: Fix pipe_feed() to allow checking fprintf format strings 2021-11-27 05:06:14 +01:00
vis-openbsd.c Add support for new LIBBSD_VIS_OPENBSD selection macro 2021-02-07 02:03:22 +01:00
vis.c Fix strnvis() and strnunvis() NetBSD ABI break 2018-05-22 16:07:42 +02:00