opnsense-src/lib/libc/tests/string
Robert Clausecker acb47064d6 lib/libc/tests/string: add memrchr unit tests
The "values" test case is specifically crafted to detect the off-by-one
error previous discovered in the scalar strchrnul implementation.

Tested by:	developers@, exp-run
Approved by:	mjg
MFC after:	1 month
MFC to:		stable/14
PR:		275785
Differential Revision:	https://reviews.freebsd.org/D42925

(cherry picked from commit 691ff1832e09a6ccbc8f5b04c88cafc7452b3ce6)
2024-01-24 20:39:30 +01:00
..
bcmp_test.c lib/libc/tests/string: expand memcmp test to bcmp, timingsafe_{b,mem}cmp 2023-12-28 18:02:41 +01:00
ffs_test.c libc: Purge unneeded cdefs.h 2023-11-26 21:20:09 -07:00
ffsl_test.c lib/libc/tests/string: add unit tests for ffs, ffsl, ffsll, fls, flsl, and flsll 2023-07-03 22:18:27 +02:00
ffsll_test.c lib/libc/tests/string: add unit tests for ffs, ffsl, ffsll, fls, flsl, and flsll 2023-07-03 22:18:27 +02:00
fls_test.c libc: Purge unneeded cdefs.h 2023-11-26 21:20:09 -07:00
flsl_test.c lib/libc/tests/string: add unit tests for ffs, ffsl, ffsll, fls, flsl, and flsll 2023-07-03 22:18:27 +02:00
flsll_test.c lib/libc/tests/string: add unit tests for ffs, ffsl, ffsll, fls, flsl, and flsll 2023-07-03 22:18:27 +02:00
Makefile lib/libc/tests/string: add memrchr unit tests 2024-01-24 20:39:30 +01:00
Makefile.depend Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
memccpy_test.c lib/libc/tests/string: add unit tests for memccpy() 2024-01-24 20:39:29 +01:00
memcmp_test.c lib/libc/tests/string: expand memcmp test to bcmp, timingsafe_{b,mem}cmp 2023-12-28 18:02:41 +01:00
memrchr_test.c lib/libc/tests/string: add memrchr unit tests 2024-01-24 20:39:30 +01:00
memset_s_test.c libc: Purge unneeded cdefs.h 2023-11-26 21:20:09 -07:00
stpncpy_test.c lib/libc/tests/string/stpncpy_test.c: extend for upcoming SSE implementation 2024-01-24 20:39:27 +01:00
strcmp_test.c lib/libc/tests/string: add extended unit tests for strcmp() 2023-12-28 18:02:40 +01:00
strcspn_test.c lib/libc/tests/string/strcspn_test.c: add test for correct match order 2023-12-28 18:02:41 +01:00
strerror_test.c Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
strlcpy_test.c lib/libc/tests/string: add unit test for strlcpy 2024-01-24 20:39:28 +01:00
strncmp_test.c lib/libc/tests/string: add unit tests for strncmp(3) 2024-01-24 20:39:25 +01:00
strspn_test.c lib/libc/tests/string: derive strspn(3) tests from strcspn(3) tests 2023-09-23 14:20:28 -04:00
strverscmp_test.c libc: Add strverscmp(3) and versionsort(3) 2022-08-25 03:29:03 +03:00
strxfrm_test.c libc: Purge unneeded cdefs.h 2023-11-26 21:20:09 -07:00
timingsafe_bcmp_test.c lib/libc/tests/string: expand memcmp test to bcmp, timingsafe_{b,mem}cmp 2023-12-28 18:02:41 +01:00
timingsafe_memcmp_test.c lib/libc/tests/string: expand memcmp test to bcmp, timingsafe_{b,mem}cmp 2023-12-28 18:02:41 +01:00
wcscasecmp_test.c libc: Purge unneeded cdefs.h 2023-11-26 21:20:09 -07:00
wcscoll_test.c libc: Purge unneeded cdefs.h 2023-11-26 21:20:09 -07:00
wcsnlen_test.c libc: Purge unneeded cdefs.h 2023-11-26 21:20:09 -07:00