From: Kees Cook <keescook@chromium.org>
To: Andy Shevchenko <andy@kernel.org>
Cc: Kees Cook <keescook@chromium.org>,
linux-kernel@vger.kernel.org, linux-hardening@vger.kernel.org
Subject: [PATCH v3 0/2] string: Convert selftests to KUnit
Date: Fri, 1 Mar 2024 12:27:29 -0800 [thread overview]
Message-ID: <20240301202524.make.800-kees@kernel.org> (raw)
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@kernel.org/
v1: https://lore.kernel.org/lkml/20240229233432.work.675-kees@kernel.org/
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
next reply other threads:[~2024-03-01 20:27 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-01 20:27 Kees Cook [this message]
2024-03-01 20:27 ` [PATCH v3 1/2] string: Convert selftest to KUnit Kees Cook
2024-03-12 14:47 ` Mark Brown
2024-03-01 20:27 ` [PATCH v3 2/2] string: Convert helpers " Kees Cook
2024-03-12 14:49 ` Mark Brown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240301202524.make.800-kees@kernel.org \
--to=keescook@chromium.org \
--cc=andy@kernel.org \
--cc=linux-hardening@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).