Skip to content

string: Convert selftests to KUnit

Kees Cook linux-hardening lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 2 repliesIn review
  2. v22 patches 6 repliesSuperseded
  3. v12 patches 1 replySuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2string: Convert selftest to KUnitMAINTAINERS lib/Kconfig.debug lib/Makefile +1 more+77 -1331 reply
2/2string: Convert helpers selftest to KUnitMAINTAINERS lib/Kconfig.debug lib/Makefile +1 more+101 -1251 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchMark Brown
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

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

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/[email protected]/
v1: https://lore.kernel.org/lkml/[email protected]/

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%)
Signature · 1 line
2.34.1