libbsd/test
Guillem Jover 0f8bcdfd92 test: Fix closefrom() test to handle open file descriptor limits
If the system has configured a lower limit (either soft or hard) on the
number of open file descriptors, the test will fail. Make sure to check
whether we have exceeded that limit and adapt the max number of file
descriptors appropriately.
2023-04-17 04:12:42 +02: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: Fix closefrom() test to handle open file descriptor limits 2023-04-17 04:12:42 +02:00
endian.c test: Add proper prototypes for main() function 2021-02-28 05:30:31 +01:00
explicit_bzero.c test: Disable blank_stack_side_effects() on non-Hurd systems 2023-04-17 04:12:32 +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: Fix memory leaks in fpurge test 2023-03-21 04:13:32 +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