diff options
author | Xu Kuohai <xukuohai@huawei.com> | 2024-07-19 19:00:57 +0800 |
---|---|---|
committer | Andrii Nakryiko <andrii@kernel.org> | 2024-07-29 13:09:37 -0700 |
commit | 2b23b6c0f03c94dbacff2abdfd45490eca9d7f6e (patch) | |
tree | caca19880508901c221794bba7ebb3e2097bf56b /tools/testing/selftests/bpf/prog_tests/tcp_hdr_options.c | |
parent | 4dc7556490d77d5046844e7731d5d0a3055a3448 (diff) |
selftests/bpf: Add return value checks for failed tests
The return ranges of some bpf lsm test progs can not be deduced by
the verifier accurately. To avoid erroneous rejections, add explicit
return value checks for these progs.
Signed-off-by: Xu Kuohai <xukuohai@huawei.com>
Link: https://lore.kernel.org/r/20240719110059.797546-8-xukuohai@huaweicloud.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/tcp_hdr_options.c')
0 files changed, 0 insertions, 0 deletions