mirror of
https://github.com/netdata/libbpf.git
synced 2026-03-25 10:49:06 +08:00
Some selftests can't be compiled on older kernels. This allows to fix these problems, if necessary. Signed-off-by: Andrii Nakryiko <andriin@fb.com>
13 lines
362 B
Bash
Executable File
13 lines
362 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -euxo pipefail
|
|
|
|
# these tests expect vmlinux.h to have latest defiition of bpf_devmap_val xdp_md->egress_ifindex
|
|
rm progs/test_xdp_with_devmap_helpers.c
|
|
rm progs/test_xdp_devmap_helpers.c
|
|
rm prog_tests/xdp_devmap_attach.c
|
|
|
|
# no BPF_F_NO_PREALLOC in BTF and no sk_msg_md->sk field
|
|
rm progs/test_skmsg_load_helpers.c
|
|
rm prog_tests/sockmap_basic.c
|