Skip to content

string: Merge separate tests into string_kunit.c

Kees Cook linux-hardening lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5string: Prepare to merge strscpy_kunit.c into string_kunit.clib/strscpy_kunit.c+26 -250 replies
2/5string: Merge strscpy KUnit tests into string_kunit.cMAINTAINERS lib/Kconfig.debug lib/Makefile +2 more+120 -1500 replies
3/5string: Prepare to merge strcat KUnit tests into string_kunit.clib/strcat_kunit.c+6 -60 replies
4/5string: Merge strcat KUnit tests into string_kunit.cMAINTAINERS lib/Kconfig.debug lib/Makefile +2 more+82 -1110 replies
5/5string: Convert KUnit test names to standard conventionlib/string_kunit.c+36 -360 replies

Reviews trailers per patch

None of the 5 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchAndy ShevchenkoIvan Orlov
SeriesR-b T-b
1/5
2/5
3/5
4/5
5/5

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

Read the v1 thread

Cover letter [PATCH 0/5] string: Merge separate tests into string_kunit.c

Hi,

We have a few lone function tests (strscpy and strcat) that are better collected into the common string_kunit.c test suite. Perform various renamings, merge everything, and clean up after them.

-Kees

Kees Cook (5):
string: Prepare to merge strscpy_kunit.c into string_kunit.c
string: Merge strscpy KUnit tests into string_kunit.c
string: Prepare to merge strcat KUnit tests into string_kunit.c
string: Merge strcat KUnit tests into string_kunit.c
string: Convert KUnit test names to standard convention

 MAINTAINERS         |   2 -
 lib/Kconfig.debug   |  10 --
 lib/Makefile        |   2 -
 lib/strcat_kunit.c  | 104 ------------------
 lib/string_kunit.c  | 258 +++++++++++++++++++++++++++++++++++++++-----
 lib/strscpy_kunit.c | 142 ------------------------
 6 files changed, 230 insertions(+), 288 deletions(-)
 delete mode 100644 lib/strcat_kunit.c
 delete mode 100644 lib/strscpy_kunit.c
Signature · 1 line
2.34.1