mirror of
https://github.com/netdata/libbpf.git
synced 2026-04-05 08:09:07 +08:00
vmtest: enable more networking kernel selftests
Set up loopback to enable more tests: - bpf_tcp_ca - cgroup_attach_autodetach - cgroup_attach_multi - cgroup_attach_override - select_reuseport - sockmap_ktls Signed-off-by: Julia Kartseva hex@fb.com
This commit is contained in:
committed by
Andrii Nakryiko
parent
c2b01ad4f3
commit
5247b0b0dc
@@ -1,13 +1,10 @@
|
|||||||
bpf_tcp_ca
|
bpf_tcp_ca
|
||||||
cgroup_attach_autodetach
|
|
||||||
cgroup_attach_multi
|
cgroup_attach_multi
|
||||||
cgroup_attach_override
|
|
||||||
fexit_bpf2bpf
|
fexit_bpf2bpf
|
||||||
perf_branches
|
perf_branches
|
||||||
select_reuseport
|
select_reuseport
|
||||||
send_signal
|
send_signal
|
||||||
skb_ctx
|
skb_ctx
|
||||||
sockmap_ktls
|
|
||||||
sockmap_listen
|
sockmap_listen
|
||||||
sockopt_inherit
|
sockopt_inherit
|
||||||
spinlock
|
spinlock
|
||||||
|
|||||||
@@ -1,11 +1,5 @@
|
|||||||
bpf_tcp_ca
|
|
||||||
cgroup_attach_autodetach
|
|
||||||
cgroup_attach_multi
|
|
||||||
cgroup_attach_override
|
|
||||||
select_reuseport
|
|
||||||
send_signal_tracepoint
|
send_signal_tracepoint
|
||||||
send_signal_tracepoint_thread
|
send_signal_tracepoint_thread
|
||||||
sockmap_ktls
|
|
||||||
sockmap_listen
|
sockmap_listen
|
||||||
sockopt_inherit
|
sockopt_inherit
|
||||||
spinlock
|
spinlock
|
||||||
|
|||||||
@@ -5,6 +5,8 @@ set -eux
|
|||||||
mount -t bpf bpffs /sys/fs/bpf
|
mount -t bpf bpffs /sys/fs/bpf
|
||||||
mount -t debugfs none /sys/kernel/debug/
|
mount -t debugfs none /sys/kernel/debug/
|
||||||
|
|
||||||
|
ip link set lo up
|
||||||
|
|
||||||
configs_path='libbpf/travis-ci/vmtest/configs'
|
configs_path='libbpf/travis-ci/vmtest/configs'
|
||||||
blacklist_path="$configs_path/blacklist/BLACKLIST-${KERNEL}"
|
blacklist_path="$configs_path/blacklist/BLACKLIST-${KERNEL}"
|
||||||
if [[ -s "${blacklist_path}" ]]; then
|
if [[ -s "${blacklist_path}" ]]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user