diff options
| author | Muhammad Usama Anjum <usama.anjum@arm.com> | 2026-08-25 12:18:36 +0100 |
|---|---|---|
| committer | Will Deacon <will@kernel.org> | 2026-08-27 14:18:39 +0000 |
| commit | bb52892f9234e4ecd982fa51222aab33ce282f79 (patch) | |
| tree | 9c1a98eb29aad40e29e1bdc301d19c009feb5c59 | |
| parent | 1a0dba077f34a2f8faa98308d30d4b546d073145 (diff) | |
| download | linux-next-bb52892f9234e4ecd982fa51222aab33ce282f79.tar.gz linux-next-bb52892f9234e4ecd982fa51222aab33ce282f79.zip | |
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>
| -rw-r--r-- | tools/testing/selftests/arm64/mte/check_prctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/arm64/mte/check_prctl.c b/tools/testing/selftests/arm64/mte/check_prctl.c index f7f320defa7b..d16a91117eef 100644 --- a/tools/testing/selftests/arm64/mte/check_prctl.c +++ b/tools/testing/selftests/arm64/mte/check_prctl.c @@ -119,7 +119,7 @@ int main(void) int i; ksft_print_header(); - ksft_set_plan(ARRAY_SIZE(mte_modes)); + ksft_set_plan(ARRAY_SIZE(mte_modes) + 1); check_basic_read(); for (i = 0; i < ARRAY_SIZE(mte_modes); i++) |
