[PATCH v3 0/2] string: Convert selftests to KUnit

From: Kees Cook
Date: Fri Mar 01 2024 - 15:27:42 EST


Hi,

I realized the string selftests hadn't been converted to KUnit yet. Do that.

-Kees

v3: retain all text context in failure reporting
v2: https://lore.kernel.org/lkml/20240301002416.it.092-kees@xxxxxxxxxx/
v1: https://lore.kernel.org/lkml/20240229233432.work.675-kees@xxxxxxxxxx/


Kees Cook (2):
string: Convert selftest to KUnit
string: Convert helpers selftest to KUnit

MAINTAINERS | 4 +-
lib/Kconfig.debug | 12 +-
lib/Makefile | 4 +-
...tring_helpers.c => string_helpers_kunit.c} | 216 ++++++++----------
lib/{test_string.c => string_kunit.c} | 200 ++++++----------
5 files changed, 178 insertions(+), 258 deletions(-)
rename lib/{test-string_helpers.c => string_helpers_kunit.c} (72%)
rename lib/{test_string.c => string_kunit.c} (46%)

--
2.34.1