[tip: timers/vdso] selftests: vDSO: vdso_test_abi: Use ksft_finished()

tip-bot2 for Thomas Weißschuh posted 1 patch 3 weeks, 2 days ago
tools/testing/selftests/vDSO/vdso_test_abi.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
[tip: timers/vdso] selftests: vDSO: vdso_test_abi: Use ksft_finished()
Posted by tip-bot2 for Thomas Weißschuh 3 weeks, 2 days ago
The following commit has been merged into the timers/vdso branch of tip:

Commit-ID:     3afe371d322cdebc6338bbc121cca6944b6c7f2d
Gitweb:        https://git.kernel.org/tip/3afe371d322cdebc6338bbc121cca6944b6c7f2d
Author:        Thomas Weißschuh <thomas.weissschuh@linutronix.de>
AuthorDate:    Tue, 12 Aug 2025 07:39:04 +02:00
Committer:     Thomas Gleixner <tglx@linutronix.de>
CommitterDate: Tue, 09 Sep 2025 10:57:39 +02:00

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

---
 tools/testing/selftests/vDSO/vdso_test_abi.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/tools/testing/selftests/vDSO/vdso_test_abi.c b/tools/testing/selftests/vDSO/vdso_test_abi.c
index 67cbfc5..b989167 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();
 }