Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
selftests/bpf: Don't truncate #test/subtest field
We currently expect up to a three-digit number of tests and subtests, so: torvalds#999/999: some_test/some_subtest: ... Is the largest test/subtest we can see. If we happen to cross into 1000s, current logic will just truncate everything after 7th character. This patch fixes this truncate and allows to go way higher (up to 31 characters in total). We still nicely align test numbers: torvalds#60/66 core_reloc_btfgen/type_based___incompat:OK torvalds#60/67 core_reloc_btfgen/type_based___fn_wrong_args:OK torvalds#60/68 core_reloc_btfgen/type_id:OK torvalds#60/69 core_reloc_btfgen/type_id___missing_targets:OK torvalds#60/70 core_reloc_btfgen/enumval:OK Signed-off-by: Andrii Nakryiko <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Acked-by: Jiri Olsa <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
- Loading branch information