Add selftests for cgroup_skb/egress/expected: # ./test_progs --name=section_names #44 section_names:OK Summary: 1/0 PASSED, 0 SKIPPED, 0 FAILED Signed-off-by: Andrey Ignatov <rdna@xxxxxx> --- tools/testing/selftests/bpf/prog_tests/section_names.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tools/testing/selftests/bpf/prog_tests/section_names.c b/tools/testing/selftests/bpf/prog_tests/section_names.c index 9d9351dc2ded..2928ca93f7a5 100644 --- a/tools/testing/selftests/bpf/prog_tests/section_names.c +++ b/tools/testing/selftests/bpf/prog_tests/section_names.c @@ -51,6 +51,11 @@ static struct sec_name_test tests[] = { {0, BPF_PROG_TYPE_CGROUP_SKB, 0}, {0, BPF_CGROUP_INET_EGRESS}, }, + { + "cgroup_skb/egress/expected", + {0, BPF_PROG_TYPE_CGROUP_SKB, BPF_CGROUP_INET_EGRESS}, + {0, BPF_CGROUP_INET_EGRESS}, + }, {"cgroup/skb", {0, BPF_PROG_TYPE_CGROUP_SKB, 0}, {-EINVAL, 0} }, { "cgroup/sock", -- 2.24.1