diff options
author | David Vernet <[email protected]> | 2023-01-19 20:18:44 -0600 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2023-01-23 20:32:20 +0100 |
commit | 7525daeefc8c20902bac63f89603096c76808fe0 (patch) | |
tree | 3b49a334c308aecda56e9b29becb2b0426b594cf /tools/testing/selftests/bpf/prog_tests/prog_array_init.c | |
parent | 74d23931f4096efcdef1bc12cc828585e49e99ce (diff) |
selftests/bpf: Use __failure macro in task kfunc testsuite
In commit 537c3f66eac1 ("selftests/bpf: add generic BPF program tester-loader"),
a new mechanism was added to the BPF selftest framework to allow testsuites to
use macros to define expected failing testcases.
This allows any testsuite which tests verification failure to remove a good
amount of boilerplate code. This patch updates the task_kfunc selftest suite
to use these new macros.
Signed-off-by: David Vernet <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Acked-by: Yonghong Song <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions