]> git.ipfire.org Git - thirdparty/linux.git/commit
selftests: kselftest: Add ksft_reset_state()
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>
Mon, 2 Mar 2026 14:13:30 +0000 (15:13 +0100)
committerShuah Khan <skhan@linuxfoundation.org>
Tue, 31 Mar 2026 19:48:23 +0000 (13:48 -0600)
commitd431ea8695f4fed4aaf4f0cb81ec7d460a093dda
treef241fd51b57d431e3f1a7ed1639832d7009bc99a
parent758b8905ec68afb80500321bcf0f22cadf715b51
selftests: kselftest: Add ksft_reset_state()

Add a helper to reset the internal state of the kselftest framework.
It will be used by the selftest harness.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Link: https://lore.kernel.org/r/20260302-kselftest-harness-v2-2-3143aa41d989@linutronix.de
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/testing/selftests/kselftest.h