]> git.hungrycats.org Git - linux/commit
selftests/arm64: Fix MTE prctl TAP plan
authorMuhammad Usama Anjum <usama.anjum@arm.com>
Tue, 25 Aug 2026 11:18:36 +0000 (12:18 +0100)
committerWill Deacon <will@kernel.org>
Thu, 27 Aug 2026 14:18:39 +0000 (14:18 +0000)
commitbb52892f9234e4ecd982fa51222aab33ce282f79
tree9c1a98eb29aad40e29e1bdc301d19c009feb5c59
parent1a0dba077f34a2f8faa98308d30d4b546d073145
selftests/arm64: Fix MTE prctl TAP plan

The MTE prctl test emits one result from check_basic_read() followed by
one result for each of the seven entries in mte_modes[]. However, the TAP
plan only accounts for the array entries, producing:

  # Planned tests != run tests (7 != 8)

Include the basic read check in the plan so that all eight emitted results
are declared.

Reviewed-by: Mark Brown <broonie@kernel.org>
Fixes: 1f488fb91378 ("kselftest/arm64/mte: Add MTE_STORE_ONLY testcases")
Signed-off-by: Muhammad Usama Anjum <usama.anjum@arm.com>
Reviewed-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
Signed-off-by: Will Deacon <will@kernel.org>
tools/testing/selftests/arm64/mte/check_prctl.c