Skip to content

kselftest/exec: Convert execveat test to KTAP output

Mark Brown linux-kselftest linux-mm lkml 1 version In review

Get series with b4
b4 am [email protected] change-id 20230928-ktap-exec-45ea8d28309a

Versions newest first

  1. v1 Latest2 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2kselftest: Add a ksft_perror() helpertools/testing/selftests/kselftest.h+14 -04 replies
2/2selftests/exec: Convert execveat test to generate KTAP outputtools/testing/selftests/exec/execveat.c+52 -351 reply

Reviews trailers per patch

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

PatchKees Cook
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 v1 thread

Cover letter [PATCH 0/2] kselftest/exec: Convert execveat test to KTAP output

This series converts the execveat test to generate KTAP output so it plays a bit more nicely with automation, KTAP means that kselftest runners can track the individual tests in the suite rather than just an overall pass/fail for the suite as a whole.

The first patch adding a perror() equivalent for kselftest was previously sent as part of a similar conversion for the timers tests:

https://lore.kernel.org/linux-kselftest/8734yyfx00.ffs@tglx/T

there's probably no harm in applying it twice or possibly these should both go via the kselftest tree - I'm not sure who usually applies timers test changes.

---
Mark Brown (2):
kselftest: Add a ksft_perror() helper selftests/exec: Convert execveat test to generate KTAP output

 tools/testing/selftests/exec/execveat.c | 87 ++++++++++++++++++++-------------
 tools/testing/selftests/kselftest.h     | 14 ++++++
 2 files changed, 66 insertions(+), 35 deletions(-)

---
base-commit: 6465e260f48790807eef06b583b38ca9789b6072
change-id: 20230928-ktap-exec-45ea8d28309a

Best regards,

Signature · 1 line
Mark Brown <[email protected]>