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)
committerCatalin Marinas <catalin.marinas@arm.com>
Fri, 20 Aug 2021 11:06:59 +0000 (12:06 +0100)
commit0c69bd2ca6ee20064dde7853cd749284e053a874
tree1f8b676a30ccff770adbc1e72c2b9e792f3fc492
parent83e5dcbece4ea67ec3ad94b897e2844184802fd7
kselftest/arm64: pac: Fix skipping of tests on systems without PAC

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>
tools/testing/selftests/arm64/pauth/pac.c