Skip to content
Commit b0f3af0b authored by Jordan Rife's avatar Jordan Rife Committed by Alexei Starovoitov
Browse files

selftests/bpf: Migrate expected_attach_type tests



Migrates tests from progs/test_sock_addr.c ensuring that programs fail
to load when the expected attach type does not match.

Signed-off-by: default avatarJordan Rife <jrife@google.com>
Link: https://lore.kernel.org/r/20240510190246.3247730-11-jrife@google.com


Signed-off-by: default avatarAlexei Starovoitov <ast@kernel.org>
parent 8eaf8056
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment