Skip to content

Commit 83e5dcb

Browse files
brooniectmarinas
authored andcommitted
kselftest/arm64: mte: Fix misleading output when skipping tests
When skipping the tests due to a lack of system support for MTE we currently print a message saying FAIL which makes it look like the test failed even though the test did actually report KSFT_SKIP, creating some confusion. Change the error message to say SKIP instead so things are clearer. Signed-off-by: Mark Brown <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Catalin Marinas <[email protected]>
1 parent e96595c commit 83e5dcb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/testing/selftests/arm64/mte/mte_common_util.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ int mte_default_setup(void)
298298
int ret;
299299

300300
if (!(hwcaps2 & HWCAP2_MTE)) {
301-
ksft_print_msg("FAIL: MTE features unavailable\n");
301+
ksft_print_msg("SKIP: MTE features unavailable\n");
302302
return KSFT_SKIP;
303303
}
304304
/* Get current mte mode */

0 commit comments

Comments
 (0)