Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

selftests/fchmodat2: use ksft_finished()

The fchmodat2 test program open codes a version of ksft_finished(), use
the standard version.

Link: https://lkml.kernel.org/r/20260226-selftests-fchmodat2-v4-2-a6419435f2e8@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Acked-by: Alexey Gladkov <legion@kernel.org>
Cc: Christian Brauner <brauner@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

authored by

Mark Brown and committed by
Andrew Morton
80266c15 04e23830

+1 -4
+1 -4
tools/testing/selftests/fchmodat2/fchmodat2_test.c
··· 196 196 test_regfile(); 197 197 test_symlink(); 198 198 199 - if (ksft_get_fail_cnt() + ksft_get_error_cnt() > 0) 200 - ksft_exit_fail(); 201 - else 202 - ksft_exit_pass(); 199 + ksft_finished(); 203 200 }