diff options
author | Thomas Weißschuh <thomas.weissschuh@linutronix.de> | 2025-06-11 12:33:51 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2025-07-01 15:50:41 +0200 |
commit | 2c0a4428f5d6005ff0db12057cc35273593fc040 (patch) | |
tree | 8418e42807bf8641e1c7b91f7e7af771a0fca9a4 /scripts/lib | |
parent | d0b3b7b22dfa1f4b515fd3a295b3fd958f9e81af (diff) |
selftests: vDSO: chacha: Correctly skip test if necessary
According to kselftest.h ksft_exit_skip() is not meant to be called when
a plan has already been printed.
Use the recommended function ksft_test_result_skip().
This fixes a bug, where the TAP output would be invalid when skipping:
TAP version 13
1..1
ok 2 # SKIP Not implemented on architecture
The SKIP line should start with "ok 1" as the plan only contains one test.
Fixes: 3b5992eaf730 ("selftests: vDSO: unconditionally build chacha test")
Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Muhammad Usama Anjum <usama.anjum@collabora.com>
Link: https://lore.kernel.org/all/20250611-selftests-vdso-fixes-v3-1-e62e37a6bcf5@linutronix.de
Diffstat (limited to 'scripts/lib')
0 files changed, 0 insertions, 0 deletions