summaryrefslogtreecommitdiff
path: root/scripts/Makefile.kcsan
diff options
context:
space:
mode:
authorMickaël Salaün <mic@digikod.net>2024-05-11 20:14:38 +0300
committerMickaël Salaün <mic@digikod.net>2024-05-11 20:18:43 +0300
commitfff37bd32c7605d93bf900c4c318d56d12000048 (patch)
tree951901b05920cc62f678bea03c64c10ac016d143 /scripts/Makefile.kcsan
parent7e4042abe2ee7c0977fd8bb049a6991b174a5e6f (diff)
downloadlinux-fff37bd32c7605d93bf900c4c318d56d12000048.tar.xz
selftests/harness: Fix fixture teardown
Make sure fixture teardowns are run when test cases failed, including when _metadata->teardown_parent is set to true. Make sure only one fixture teardown is run per test case, handling the case where the test child forks. Cc: Jakub Kicinski <kuba@kernel.org> Cc: Shengyu Li <shengyu.li.evgeny@gmail.com> Cc: Shuah Khan <skhan@linuxfoundation.org> Fixes: 72d7cb5c190b ("selftests/harness: Prevent infinite loop due to Assert in FIXTURE_TEARDOWN") Fixes: 0710a1a73fb4 ("selftests/harness: Merge TEST_F_FORK() into TEST_F()") Reviewed-by: Kees Cook <keescook@chromium.org> Link: https://lore.kernel.org/r/20240511171445.904356-4-mic@digikod.net Rule: add Link: https://lore.kernel.org/stable/20240506165518.474504-4-mic%40digikod.net Signed-off-by: Mickaël Salaün <mic@digikod.net>
Diffstat (limited to 'scripts/Makefile.kcsan')
0 files changed, 0 insertions, 0 deletions