kselftest/arm64: mte: Fix misleading output when skipping tests
authorMark Brown <broonie@kernel.org>
Thu, 19 Aug 2021 17:29:02 +0000 (18:29 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 18 Sep 2021 11:40:30 +0000 (13:40 +0200)
commit9486d7ac9f30fb412ece53cbf59e13e1a6636ab0
tree04a29abaf75edadbffb281704435c7c79ed93c01
parent1f5db5b8a3d6b351673f9592b8577a7e29eb7432
kselftest/arm64: mte: Fix misleading output when skipping tests

[ Upstream commit 83e5dcbece4ea67ec3ad94b897e2844184802fd7 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
tools/testing/selftests/arm64/mte/mte_common_util.c