]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/bpf: Remove too strict field offset relo test cases
authorAndrii Nakryiko <andriin@fb.com>
Fri, 1 Nov 2019 22:28:06 +0000 (15:28 -0700)
committerDaniel Borkmann <daniel@iogearbox.net>
Mon, 4 Nov 2019 15:06:56 +0000 (16:06 +0100)
commit0aceb4b9e570466eeb0b6d72368059334347c50a
tree272524643607439d5d48a5b390bba1732368b038
parent9fea612f1b68dffa0fe5c8deb5c53779cba39fed
selftests/bpf: Remove too strict field offset relo test cases

As libbpf is going to gain support for more field relocations, including field
size, some restrictions about exact size match are going to be lifted. Remove
test cases that explicitly test such failures.

Signed-off-by: Andrii Nakryiko <andriin@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20191101222810.1246166-2-andriin@fb.com
tools/testing/selftests/bpf/progs/btf__core_reloc_arrays___err_wrong_val_type.c [new file with mode: 0644]
tools/testing/selftests/bpf/progs/btf__core_reloc_arrays___err_wrong_val_type1.c [deleted file]
tools/testing/selftests/bpf/progs/btf__core_reloc_arrays___err_wrong_val_type2.c [deleted file]
tools/testing/selftests/bpf/progs/btf__core_reloc_ints___err_bitfield.c [deleted file]
tools/testing/selftests/bpf/progs/btf__core_reloc_ints___err_wrong_sz_16.c [deleted file]
tools/testing/selftests/bpf/progs/btf__core_reloc_ints___err_wrong_sz_32.c [deleted file]
tools/testing/selftests/bpf/progs/btf__core_reloc_ints___err_wrong_sz_64.c [deleted file]
tools/testing/selftests/bpf/progs/btf__core_reloc_ints___err_wrong_sz_8.c [deleted file]
tools/testing/selftests/bpf/progs/core_reloc_types.h