test: slre: add tests for regex library
authorRasmus Villemoes <ravi@prevas.dk>
Tue, 13 May 2025 08:40:25 +0000 (10:40 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 29 May 2025 14:25:18 +0000 (08:25 -0600)
commitced883d92c0568cdb15b5b67106c29a4623b19d8
tree384629a21a644139951170c565838ed5580dcb99
parenta5af8f9ad2779e2a18bc9d723c687ee2213086f0
test: slre: add tests for regex library

Inspecting the slre.c code reveals a few bugs; those are easy to
demonstrate with the new '=~' test operator. Before fixing them, let's
add a place to add test cases.

Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Rasmus Villemoes <ravi@prevas.dk>
MAINTAINERS
test/lib/Makefile
test/lib/slre.c [new file with mode: 0644]