[PATCH 1/4] selftest/arm64: Print TAP header
From: Muhammad Usama Anjum
Date: Thu Aug 20 2026 - 11:48:18 EST
The test sets a TAP plan and emits a result but does not print the TAP
version header. Direct execution therefore starts with:
1..1
instead of "TAP version 13", leaving the output malformed for TAP
consumers.
Print the kselftest header before the plan, matching the other arm64 MTE
tests.
Fixes: 29f080881601 ("kselftest/arm64: check GCR_EL1 after context switch")
Signed-off-by: Muhammad Usama Anjum <usama.anjum@xxxxxxx>
---
tools/testing/selftests/arm64/mte/check_gcr_el1_cswitch.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/tools/testing/selftests/arm64/mte/check_gcr_el1_cswitch.c b/tools/testing/selftests/arm64/mte/check_gcr_el1_cswitch.c
index 325bca0de0f6e..d23f154d3288c 100644
--- a/tools/testing/selftests/arm64/mte/check_gcr_el1_cswitch.c
+++ b/tools/testing/selftests/arm64/mte/check_gcr_el1_cswitch.c
@@ -131,6 +131,7 @@ int main(int argc, char *argv[])
if (err)
return err;
+ ksft_print_header();
ksft_set_plan(1);
evaluate_test(mte_gcr_fork_test(),
--
2.47.3