opnsense-src/lib/libc/tests/string
Robert Clausecker e4f02a72f7 libc/tests/string: add a more comprehensive unit test for strrchr()
The unit tests are patterned after those for memrchr().
This catches the issue found in 293915.

PR:		293915
Reviewed by:	strajabot
Reported by:	safonov.paul@gmail.com
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D56037

(cherry picked from commit 8b5d77bbcbd98e684226950be1c779e108059d8d)
2026-04-15 12:03:07 +02:00
..
bcmp_test.c
ffs_test.c
ffsl_test.c
ffsll_test.c
fls_test.c
flsl_test.c
flsll_test.c
Makefile libc/tests/string: add a more comprehensive unit test for strrchr() 2026-04-15 12:03:07 +02:00
Makefile.depend
memccpy_test.c lib/libc/tests/string: improve memccpy "bounds" unit test 2024-09-14 20:42:19 +02:00
memcmp_test.c libc: Have memcmp test what the standard requires 2025-09-16 13:34:32 -04:00
memrchr_test.c
memset_s_test.c
memset_test.c libc: Add memset test for int-to-char conversion 2024-07-13 15:07:49 +02:00
stpncpy_test.c libc/tests/string: improve stpncpy() "bounds" unit test 2026-01-01 21:57:33 +01:00
strcmp_test.c
strcspn_test.c
strerror_test.c
strlcpy_test.c
strncmp_test.c
strnlen_test.c lib/libc/tests/string: add test for strnlen() 2024-10-15 13:34:45 +02:00
strrchr_test.c libc/tests/string: add a more comprehensive unit test for strrchr() 2026-04-15 12:03:07 +02:00
strspn_test.c
strverscmp_test.c
strxfrm_test.c
timingsafe_bcmp_test.c
timingsafe_memcmp_test.c
wcscasecmp_test.c
wcscoll_test.c
wcsnlen_test.c