mirror of
https://github.com/torvalds/linux.git
synced 2026-05-26 08:02:27 +02:00
selftests/bps: Clean up removed ints relocations negative tests
As part of42765ede5c("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:42765ede5c("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
This commit is contained in:
parent
f23c7ce341
commit
65a052d537
|
|
@ -337,12 +337,6 @@ static struct core_reloc_test_case test_cases[] = {
|
||||||
INTS_CASE(ints___bool),
|
INTS_CASE(ints___bool),
|
||||||
INTS_CASE(ints___reverse_sign),
|
INTS_CASE(ints___reverse_sign),
|
||||||
|
|
||||||
INTS_ERR_CASE(ints___err_bitfield),
|
|
||||||
INTS_ERR_CASE(ints___err_wrong_sz_8),
|
|
||||||
INTS_ERR_CASE(ints___err_wrong_sz_16),
|
|
||||||
INTS_ERR_CASE(ints___err_wrong_sz_32),
|
|
||||||
INTS_ERR_CASE(ints___err_wrong_sz_64),
|
|
||||||
|
|
||||||
/* validate edge cases of capturing relocations */
|
/* validate edge cases of capturing relocations */
|
||||||
{
|
{
|
||||||
.case_name = "misc",
|
.case_name = "misc",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user