OSDN Git Service

selftests/bps: Clean up removed ints relocations negative tests
authorAndrii Nakryiko <andriin@fb.com>
Wed, 6 Nov 2019 17:36:59 +0000 (09:36 -0800)
committerAlexei Starovoitov <ast@kernel.org>
Wed, 6 Nov 2019 21:45:06 +0000 (13:45 -0800)
commit65a052d537f40e992eb1629cc6c25874064f51fd
tree947f07a3964d5477d057ba91ffac27d571515e82
parentf23c7ce341c2dfd187d4e3712ba6c110969463a0
selftests/bps: Clean up removed ints relocations negative tests

As part of 42765ede5c54 ("selftests/bpf: Remove too strict field offset relo
test cases"), few ints relocations negative (supposed to fail) tests were
removed, but not completely. Due to them being negative, some leftovers in
prog_tests/core_reloc.c went unnoticed. Clean them up.

Fixes: 42765ede5c54 ("selftests/bpf: Remove too strict field offset relo test cases")
Signed-off-by: Andrii Nakryiko <andriin@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20191106173659.1978131-1-andriin@fb.com
tools/testing/selftests/bpf/prog_tests/core_reloc.c