-
-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
Showing
9 changed files
with
4 additions
and
90 deletions.
There are no files selected for viewing
3 changes: 3 additions & 0 deletions
3
tools/testing/selftests/bpf/progs/btf__core_reloc_arrays___err_wrong_val_type.c
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#include "core_reloc_types.h" | ||
|
||
void f(struct core_reloc_arrays___err_wrong_val_type x) {} |
3 changes: 0 additions & 3 deletions
3
tools/testing/selftests/bpf/progs/btf__core_reloc_arrays___err_wrong_val_type1.c
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
tools/testing/selftests/bpf/progs/btf__core_reloc_arrays___err_wrong_val_type2.c
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
tools/testing/selftests/bpf/progs/btf__core_reloc_ints___err_bitfield.c
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
tools/testing/selftests/bpf/progs/btf__core_reloc_ints___err_wrong_sz_16.c
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
tools/testing/selftests/bpf/progs/btf__core_reloc_ints___err_wrong_sz_32.c
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
tools/testing/selftests/bpf/progs/btf__core_reloc_ints___err_wrong_sz_64.c
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
tools/testing/selftests/bpf/progs/btf__core_reloc_ints___err_wrong_sz_8.c
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters