kselftest/arm64: pac: Fix skipping of tests on systems without PAC
authorMark Brown <broonie@kernel.org>
Thu, 19 Aug 2021 16:57:23 +0000 (17:57 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 18 Sep 2021 11:42:14 +0000 (13:42 +0200)
commit0bb3f00ed98d8e107cc6d1ed1d8e1f674f28b00b
tree129ee9e649b22f2c1962f94be095f6ce2c46ef8f
parent40c2fdb0496a49e7cf43b31069189fcdada80b2f
kselftest/arm64: pac: Fix skipping of tests on systems without PAC

[ Upstream commit 0c69bd2ca6ee20064dde7853cd749284e053a874 ]

The PAC tests check to see if the system supports the relevant PAC features
but instead of skipping the tests if they can't be executed they fail the
tests which makes things look like they're not working when they are.

Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20210819165723.43903-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/pauth/pac.c