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

@@ -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