]> www.infradead.org Git - users/dwmw2/linux.git/commit
selftests/bpf: Match tests against regular expression
authorCupertino Miranda <cupertino.miranda@oracle.com>
Mon, 17 Jun 2024 14:14:58 +0000 (15:14 +0100)
committerAndrii Nakryiko <andrii@kernel.org>
Fri, 21 Jun 2024 20:54:23 +0000 (13:54 -0700)
commit3e23c99764d465ae411f0729fd6d2e0e3edd0ade
tree81295b6e2131a740e403fa22e4a373300c5d84b5
parentf06ae6194f278444201e0b041a00192d794f83b6
selftests/bpf: Match tests against regular expression

This patch changes a few tests to make use of regular expressions.
Fixed tests otherwise fail when compiled with GCC.

Signed-off-by: Cupertino Miranda <cupertino.miranda@oracle.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Eduard Zingerman <eddyz87@gmail.com>
Link: https://lore.kernel.org/bpf/20240617141458.471620-3-cupertino.miranda@oracle.com
tools/testing/selftests/bpf/progs/dynptr_fail.c
tools/testing/selftests/bpf/progs/rbtree_fail.c
tools/testing/selftests/bpf/progs/refcounted_kptr_fail.c