aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>2025-08-12 07:39:04 +0200
committerThomas Gleixner <tglx@linutronix.de>2025-09-09 10:57:39 +0200
commit3afe371d322cdebc6338bbc121cca6944b6c7f2d (patch)
tree4b9cb765865b7f83d95ce3061a9093fd022f91f6 /tools
parentselftests: vDSO: vdso_test_abi: Correctly skip whole test with missing vDSO (diff)
downloadlinux-3afe371d322cdebc6338bbc121cca6944b6c7f2d.tar.gz
linux-3afe371d322cdebc6338bbc121cca6944b6c7f2d.zip
selftests: vDSO: vdso_test_abi: Use ksft_finished()
The existing logic is just an open-coded ksft_finished(). Replace it with the real thing. Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lore.kernel.org/all/20250812-vdso-tests-fixes-v2-3-90f499dd35f8@linutronix.de
Diffstat (limited to 'tools')
-rw-r--r--tools/testing/selftests/vDSO/vdso_test_abi.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/testing/selftests/vDSO/vdso_test_abi.c b/tools/testing/selftests/vDSO/vdso_test_abi.c
index 67cbfc56e4e1..b989167ec247 100644
--- a/tools/testing/selftests/vDSO/vdso_test_abi.c
+++ b/tools/testing/selftests/vDSO/vdso_test_abi.c
@@ -231,6 +231,5 @@ int main(int argc, char **argv)
vdso_test_time();
- ksft_print_cnts();
- return ksft_get_fail_cnt() == 0 ? KSFT_PASS : KSFT_FAIL;
+ ksft_finished();
}