opnsense-src/lib/libc/tests/string
Robert Clausecker efbccec3e0 lib/libc/tests/string/strcspn_test.c: extend tests to catch previous bug
This extends the strcspn() unit tests to catch mistakes in the
implementation that only appear when a mismatch occurs in a certain
position of the string against a certain position of the set.

See also:	52d4a4d4e0dedc72bc33082a3f84c2d0fd6f2cbb
Sponsored by:	The FreeBSD Foundation
Approved by:	imp
MFC after:	3 days
Differential Revision:	https://reviews.freebsd.org/D41821

(cherry picked from commit 601fd768cfd599518f7f9d30592763d1279d336d)
2023-09-23 14:21:42 -04:00
..
ffs_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
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 lib/libc/tests/string: add unit tests for ffs, ffsl, ffsll, fls, flsl, and flsll 2023-07-03 22:18:27 +02: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: derive strspn(3) tests from strcspn(3) tests 2023-09-23 14:20:28 -04:00
Makefile.depend Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
memcmp_test.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
memset_s_test.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
stpncpy_test.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
strcspn_test.c lib/libc/tests/string/strcspn_test.c: extend tests to catch previous bug 2023-09-23 14:21:42 -04: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 Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
wcscasecmp_test.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
wcscoll_test.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
wcsnlen_test.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00