test: unit tests for strstr() and strnstr()
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Mon, 3 Feb 2025 09:12:01 +0000 (10:12 +0100)
committerTom Rini <trini@konsulko.com>
Wed, 12 Feb 2025 18:37:17 +0000 (12:37 -0600)
commit4fee75276d3b140bf534f045327901656067bf80
treeda4b08482d32fb56ff671f4974516508008ec6ea
parent7c7361b98d6eadcbcde556763b6d40a686f4bd3d
test: unit tests for strstr() and strnstr()

Add unit tests for the library functions.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
[jf: drop unwanted change to lib/string.c]
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org>
test/lib/string.c