selftests/bpf: Migrate BPF_CGROUP_INET_SOCK_CREATE test cases to prog_tests
authorJordan Rife <jrife@google.com>
Tue, 22 Oct 2024 15:29:03 +0000 (15:29 +0000)
committerMartin KaFai Lau <martin.lau@kernel.org>
Tue, 22 Oct 2024 20:41:42 +0000 (13:41 -0700)
commitaf522f13e9177eca0111562a38cc8ebb6d55f820
tree65b448f6b82c53aa8698495522206f761a33d8f2
parentc17f9734e35b4ca86c67d0a49780978a16effa94
selftests/bpf: Migrate BPF_CGROUP_INET_SOCK_CREATE test cases to prog_tests

Move the "load w/o expected_attach_type" test case to
prog_tests/sock_create.c and drop the remaining test case, as it is made
redundant with the existing coverage inside prog_tests/sock_create.c.

Signed-off-by: Jordan Rife <jrife@google.com>
Link: https://lore.kernel.org/r/20241022152913.574836-4-jrife@google.com
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
tools/testing/selftests/bpf/prog_tests/sock_create.c
tools/testing/selftests/bpf/test_sock.c