]> www.infradead.org Git - users/dwmw2/linux.git/commit
selftests/bpf: Migrate *_POST_BIND test cases to prog_tests
authorJordan Rife <jrife@google.com>
Tue, 22 Oct 2024 15:29:01 +0000 (15:29 +0000)
committerMartin KaFai Lau <martin.lau@kernel.org>
Tue, 22 Oct 2024 20:41:38 +0000 (13:41 -0700)
commit94682d6ad9692855b2ae16bb93c408ad0a5bc9ba
tree5820fb07070db7700b5b0eb255ef41e98d2fd3f4
parentd39100d01ce1ba1bffe0447a0550f592aa6e1e9b
selftests/bpf: Migrate *_POST_BIND test cases to prog_tests

Move all BPF_CGROUP_INET6_POST_BIND and BPF_CGROUP_INET4_POST_BIND test
cases to a new prog_test, prog_tests/sock_post_bind.c, except for
LOAD_REJECT test cases.

Signed-off-by: Jordan Rife <jrife@google.com>
Link: https://lore.kernel.org/r/20241022152913.574836-2-jrife@google.com
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
tools/testing/selftests/bpf/prog_tests/sock_post_bind.c [new file with mode: 0644]
tools/testing/selftests/bpf/test_sock.c