aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/test_tc_tunnel.sh
diff options
context:
space:
mode:
authorStanislav Fomichev <sdf@google.com>2020-01-17 17:05:46 -0800
committerDaniel Borkmann <daniel@iogearbox.net>2020-01-20 22:49:03 +0100
commit396b83fa75a3deb9aa68296c090f4eb540917d9d (patch)
treec43258d93d015f3b1f40b35ad42babad6bebdb2e /tools/testing/selftests/bpf/test_tc_tunnel.sh
parentbpf: Fix memory leaks in generic update/delete batch ops (diff)
downloadlinux-dev-396b83fa75a3deb9aa68296c090f4eb540917d9d.tar.xz
linux-dev-396b83fa75a3deb9aa68296c090f4eb540917d9d.zip
selftests/bpf: Don't check for btf fd in test_btf
After commit 0d13bfce023a ("libbpf: Don't require root for bpf_object__open()") we no longer load BTF during bpf_object__open(), so let's remove the expectation from test_btf that the fd is not -1. The test currently fails. Before: BTF libbpf test[1] (test_btf_haskv.o): do_test_file:4152:FAIL bpf_object__btf_fd: -1 BTF libbpf test[2] (test_btf_newkv.o): do_test_file:4152:FAIL bpf_object__btf_fd: -1 BTF libbpf test[3] (test_btf_nokv.o): do_test_file:4152:FAIL bpf_object__btf_fd: -1 After: BTF libbpf test[1] (test_btf_haskv.o): OK BTF libbpf test[2] (test_btf_newkv.o): OK BTF libbpf test[3] (test_btf_nokv.o): OK Fixes: 0d13bfce023a ("libbpf: Don't require root for bpf_object__open()") Signed-off-by: Stanislav Fomichev <sdf@google.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: John Fastabend <john.fastabend@gmail.com> Link: https://lore.kernel.org/bpf/20200118010546.74279-1-sdf@google.com
Diffstat (limited to 'tools/testing/selftests/bpf/test_tc_tunnel.sh')
0 files changed, 0 insertions, 0 deletions