selftests/bpf: two scale tests
authorAlexei Starovoitov <ast@kernel.org>
Fri, 12 Apr 2019 21:41:32 +0000 (14:41 -0700)
committerDaniel Borkmann <daniel@iogearbox.net>
Tue, 16 Apr 2019 08:18:15 +0000 (10:18 +0200)
commit08de198c95438fcbfad7bc06121176794ec92c6e
treeb45d78fdab0f19b90a9a95dc6b1519d61e1dbc62
parent3da6e7e408b9c229e5e5cc1ddab7445c7561afc3
selftests/bpf: two scale tests

Add two tests to check that sequence of 1024 jumps is verifiable.

Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Song Liu <songliubraving@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
tools/testing/selftests/bpf/test_verifier.c
tools/testing/selftests/bpf/verifier/scale.c [new file with mode: 0644]