diff options
| author | Rasmus Villemoes <[email protected]> | 2026-07-08 22:37:08 +0200 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2026-07-21 13:51:07 -0600 |
| commit | d589aa4417c57b2f02f674ccd0ebe4f2ba9bb221 (patch) | |
| tree | 406aa82c478fa24cc624af86889037e29bf3b04b /scripts/basic | |
| parent | 13822d7f42706da356368f1389f8de10ac9869a5 (diff) | |
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.
Reviewed-by: Simon Glass <[email protected]>
Signed-off-by: Rasmus Villemoes <[email protected]>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions
