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:
Julia Kartseva
2020-02-26 00:09:02 -08:00
committed by Andrii Nakryiko
parent c2b01ad4f3
commit 5247b0b0dc
3 changed files with 2 additions and 9 deletions

View File

@@ -1,13 +1,10 @@
bpf_tcp_ca
cgroup_attach_autodetach
cgroup_attach_multi
cgroup_attach_override
fexit_bpf2bpf
perf_branches
select_reuseport
send_signal
skb_ctx
sockmap_ktls
sockmap_listen
sockopt_inherit
spinlock

View File

@@ -1,11 +1,5 @@
bpf_tcp_ca
cgroup_attach_autodetach
cgroup_attach_multi
cgroup_attach_override
select_reuseport
send_signal_tracepoint
send_signal_tracepoint_thread
sockmap_ktls
sockmap_listen
sockopt_inherit
spinlock

View File

@@ -5,6 +5,8 @@ set -eux
mount -t bpf bpffs /sys/fs/bpf
mount -t debugfs none /sys/kernel/debug/
ip link set lo up
configs_path='libbpf/travis-ci/vmtest/configs'
blacklist_path="$configs_path/blacklist/BLACKLIST-${KERNEL}"
if [[ -s "${blacklist_path}" ]]; then