]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
kselftest/filelock: report each test in oftlocks separately
authorMark Brown <broonie@kernel.org>
Thu, 26 Feb 2026 16:05:26 +0000 (16:05 +0000)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 29 May 2026 04:24:44 +0000 (21:24 -0700)
commit33d5b13098fb8db5ff120d4e2124c8b214696859
tree4922afb573705fd145440fa204824efd78bbb9c7
parent47d020e2337461f8a2991a0dc301f10a71903710
kselftest/filelock: report each test in oftlocks separately

The filelock test checks four different things but only reports an overall
status, convert to use ksft_test_result() for these individual tests.
Each test depends on the previous ones so we still bail out if any of them
fail but we get a bit more information from UIs parsing the results.

Link: https://lore.kernel.org/20260226-selftest-filelock-ktap-v4-2-db8ae192ff42@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Cc: Jeff Layton <jlayton@kernel.org>
Cc: Shuah Khan <shuah@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
tools/testing/selftests/filelock/ofdlocks.c