selftests/bpf: add bpf_spin_lock verifier tests
authorAlexei Starovoitov <ast@kernel.org>
Thu, 31 Jan 2019 23:40:07 +0000 (15:40 -0800)
committerDaniel Borkmann <daniel@iogearbox.net>
Fri, 1 Feb 2019 19:55:39 +0000 (20:55 +0100)
commitb4d4556c32667728c9737619580b6ade695027e0
tree78803660c0fe2bf7e8844dd3e746974882d1d200
parent7dac3ae42cf8203c0a9c54cb387512c91b64e22a
selftests/bpf: add bpf_spin_lock verifier tests

add bpf_spin_lock tests to test_verifier.c that don't require
latest llvm with BTF support

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