Hi everyone, This is v2 on the regular expression for test output matching patches. I believe I improved it beyond the precise requests from Andrii and Eduard. Hope that this version improves on all aspects requested in the reviews and fixes all pending nits. Tested with bpf-next selftests with no regressions. Looking forward to your reviews. Best regards, Cupertino Cupertino Miranda (2): selftests/bpf: Support checks against a regular expression. selftests/bpf: Match tests against regular expres tools/testing/selftests/bpf/progs/bpf_misc.h | 11 +- .../testing/selftests/bpf/progs/dynptr_fail.c | 6 +- .../testing/selftests/bpf/progs/rbtree_fail.c | 8 +- .../bpf/progs/refcounted_kptr_fail.c | 4 +- .../selftests/bpf/progs/verifier_sock.c | 4 +- tools/testing/selftests/bpf/test_loader.c | 143 ++++++++++++++---- 6 files changed, 132 insertions(+), 44 deletions(-) -- 2.39.2