HomeFreeBSD

libc/tests/string: add a more comprehensive unit test for strrchr()

Description

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

Details

Provenance
fuzAuthored on Mar 22 2026, 9:39 PM
Reviewer
strajabot
Differential Revision
D56037: libc/tests/string: add a more comprehensive unit test for strrchr()
Parents
rG2bcdab574598: mfiutil.8: Fix typo - missing macro for dev node
Branches
Unknown
Tags
Unknown