[PATCH v1 0/2] Merge TEST_F_FORK() into TEST_F()
From: Mickaël Salaün
Date: Tue Mar 05 2024 - 10:57:55 EST
Hi,
This is a long due cleanup to merge TEST_F_FORK() into TEST_F().
This second version includes Jakub's "child" default value fix, proper
signal handling (TEST_SIGNAL), and move fixture setup and teardown to
the grandchild process by default.
This also removes the step counter and simplify Landlock's test
teardowns by removing some umount calls.
See https://lore.kernel.org/r/20240229005920.2407409-1-kuba@xxxxxxxxxx
Regards,
Mickaël Salaün (2):
selftests/landlock: Redefine TEST_F() as TEST_F_FORK()
selftests/harness: Merge TEST_F_FORK() into TEST_F()
tools/testing/selftests/kselftest_harness.h | 72 ++++++++++-----------
tools/testing/selftests/landlock/common.h | 58 +----------------
tools/testing/selftests/landlock/fs_test.c | 22 +++----
3 files changed, 48 insertions(+), 104 deletions(-)
base-commit: 90d35da658da8cff0d4ecbb5113f5fac9d00eb72
--
2.44.0