61f8c9c8f3
Currently, the selftest for the BPF socket_cookie helpers is built and run independently from test_progs. It's easy to forget and hard to maintain. This patch moves the socket cookies test into prog_tests/ and vastly simplifies its logic by: - rewriting the loading code with BPF skeletons - rewriting the server/client code with network helpers - rewriting the cgroup code with test__join_cgroup - rewriting the error handling code with CHECKs Signed-off-by: Florent Revest <revest@chromium.org> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Acked-by: KP Singh <kpsingh@kernel.org> Acked-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/bpf/20210210111406.785541-3-revest@chromium.org
38 lines
528 B
Plaintext
38 lines
528 B
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
test_verifier
|
|
test_maps
|
|
test_lru_map
|
|
test_lpm_map
|
|
test_tag
|
|
FEATURE-DUMP.libbpf
|
|
fixdep
|
|
test_dev_cgroup
|
|
/test_progs*
|
|
test_verifier_log
|
|
feature
|
|
test_sock
|
|
test_sock_addr
|
|
urandom_read
|
|
test_sockmap
|
|
test_lirc_mode2_user
|
|
get_cgroup_id_user
|
|
test_skb_cgroup_id_user
|
|
test_cgroup_storage
|
|
test_flow_dissector
|
|
flow_dissector_load
|
|
test_netcnt
|
|
test_tcpnotify_user
|
|
test_libbpf
|
|
test_tcp_check_syncookie_user
|
|
test_sysctl
|
|
xdping
|
|
test_cpp
|
|
*.skel.h
|
|
/no_alu32
|
|
/bpf_gcc
|
|
/tools
|
|
/runqslower
|
|
/bench
|
|
*.ko
|
|
xdpxceiver
|