Re: [PATCH bpf-next] selftests/bpf: Use __failure macro in task kfunc testsuite

From: Yonghong Song
Date: Fri Jan 20 2023 - 14:07:01 EST




On 1/19/23 6:18 PM, David Vernet wrote:
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 <void@xxxxxxxxxxxxx>

Acked-by: Yonghong Song <yhs@xxxxxx>