summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/arm64/mte
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2021-08-19 20:29:02 +0300
committerCatalin Marinas <catalin.marinas@arm.com>2021-08-20 13:11:05 +0300
commit83e5dcbece4ea67ec3ad94b897e2844184802fd7 (patch)
treed679aaf06ea5e1061a9cb2c3548fab302216aaf0 /tools/testing/selftests/arm64/mte
parente96595c55d2397dde599779d75112d21989b37b9 (diff)
downloadlinux-83e5dcbece4ea67ec3ad94b897e2844184802fd7.tar.xz
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 <broonie@kernel.org> Link: https://lore.kernel.org/r/20210819172902.56211-1-broonie@kernel.org Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'tools/testing/selftests/arm64/mte')
-rw-r--r--tools/testing/selftests/arm64/mte/mte_common_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/arm64/mte/mte_common_util.c b/tools/testing/selftests/arm64/mte/mte_common_util.c
index f50ac31920d1..0328a1e08f65 100644
--- a/tools/testing/selftests/arm64/mte/mte_common_util.c
+++ b/tools/testing/selftests/arm64/mte/mte_common_util.c
@@ -298,7 +298,7 @@ int mte_default_setup(void)
int ret;
if (!(hwcaps2 & HWCAP2_MTE)) {
- ksft_print_msg("FAIL: MTE features unavailable\n");
+ ksft_print_msg("SKIP: MTE features unavailable\n");
return KSFT_SKIP;
}
/* Get current mte mode */