opnsense-src/lib/libc/tests/string
Robert Clausecker 08ad297599 lib/libc/tests/string/strcspn_test.c: add test for correct match order
This new unit test verifies that if there are multiple
matches, the first match is returned, ignoring later
matches.

Approved by:	mjg (blanket, via IRC)
MFC after:	1 week
MFC to:		stable/14

(cherry picked from commit a0ecf2224ea35d029d33541878f0eee42f5fd84f)
2023-12-28 18:02:41 +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: expand memcmp test to bcmp, timingsafe_{b,mem}cmp 2023-12-28 18:02:41 +01:00
Makefile.depend Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06: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
memset_s_test.c libc: Purge unneeded cdefs.h 2023-11-26 21:20:09 -07:00
stpncpy_test.c libc: Purge unneeded cdefs.h 2023-11-26 21:20:09 -07: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
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