aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/test_tcpbpf.h
diff options
context:
space:
mode:
authorAndrey Ignatov <rdna@fb.com>2018-07-11 17:33:36 -0700
committerDaniel Borkmann <daniel@iogearbox.net>2018-07-15 00:08:41 +0200
commit2044e4ef0be29f0154b078a956a3d8331315298a (patch)
tree2a5f06e211ac5eb6e7b6e2688fad7ad49a6c7129 /tools/testing/selftests/bpf/test_tcpbpf.h
parentselftests/bpf: Switch test_tcpbpf_user to cgroup_helpers (diff)
downloadlinux-dev-2044e4ef0be29f0154b078a956a3d8331315298a.tar.xz
linux-dev-2044e4ef0be29f0154b078a956a3d8331315298a.zip
selftests/bpf: Better verification in test_tcpbpf
Reduce amount of copy/paste for debug info when result is verified in the test and keep that info together with values being checked so that they won't get out of sync. It also improves debug experience: instead of checking manually what doesn't match in debug output for all fields, only unexpected field is printed. Signed-off-by: Andrey Ignatov <rdna@fb.com> Acked-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'tools/testing/selftests/bpf/test_tcpbpf.h')
0 files changed, 0 insertions, 0 deletions