On 2026-07-01T17:15:27, Rasmus Villemoes <[email protected]> wrote:
> test: string: add test of new strcasestr() function
>
> Change the existing strstr() test a little so that the substring not
> found is 'bits', i.e. one that is actually found when doing case
> insensitive search.
>
> Then copy all of lib_strstr(), adapt the expectation for the
> strcasestr(s1, s3) result, and add another "not found" case.
>
> Signed-off-by: Rasmus Villemoes <[email protected]>
>
> test/lib/string.c | 24 +++++++++++++++++++++---
>  1 file changed, 21 insertions(+), 3 deletions(-)

Reviewed-by: Simon Glass <[email protected]>

Reply via email to