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

From: Kees Cook
Date: Thu Feb 29 2024 - 19:27:03 EST


Hi,

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

-Kees

v2: rebase onto https://lore.kernel.org/r/20240229205345.93902-1-andriy.shevchenko@xxxxxxxxxxxxxxx
v1: https://lore.kernel.org/linux-hardening/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} | 177 ++++++++++--------
lib/{test_string.c => string_kunit.c} | 166 ++++++----------
5 files changed, 164 insertions(+), 199 deletions(-)
rename lib/{test-string_helpers.c => string_helpers_kunit.c} (78%)
rename lib/{test_string.c => string_kunit.c} (54%)

--
2.34.1