]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
selftests/bpf: check insn processed in test_verifier
authorAlexei Starovoitov <ast@kernel.org>
Thu, 13 Dec 2018 19:42:32 +0000 (11:42 -0800)
committerDaniel Borkmann <daniel@iogearbox.net>
Sat, 15 Dec 2018 00:28:32 +0000 (01:28 +0100)
commit730ff40f80c5b09b2402958321f2762a3f852e30
tree8f9343d755afbcef24f6761aaae75a5919a654c1
parentb233920c97a6201eb47fbafd78365c6946e6d7b6
selftests/bpf: check insn processed in test_verifier

Teach test_verifier to parse verifier output for insn processed
and compare with expected number.

Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Edward Cree <ecree@solarflare.com>
Acked-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
tools/testing/selftests/bpf/test_verifier.c