Skip to content

Commit f95d7d1

Browse files
peilin-yeKernel Patches Daemon
authored andcommitted
selftests/bpf: Delete duplicate verifier/atomic_invalid tests
Right now, the BPF_ADD and BPF_ADD | BPF_FETCH cases are tested twice: #55/u atomic BPF_ADD access through non-pointer OK #55/p atomic BPF_ADD access through non-pointer OK #56/u atomic BPF_ADD | BPF_FETCH access through non-pointer OK #56/p atomic BPF_ADD | BPF_FETCH access through non-pointer OK #57/u atomic BPF_ADD access through non-pointer OK #57/p atomic BPF_ADD access through non-pointer OK #58/u atomic BPF_ADD | BPF_FETCH access through non-pointer OK #58/p atomic BPF_ADD | BPF_FETCH access through non-pointer OK Reviewed-by: Josh Don <[email protected]> Signed-off-by: Peilin Ye <[email protected]>
1 parent 0124172 commit f95d7d1

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

tools/testing/selftests/bpf/verifier/atomic_invalid.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@
1313
}
1414
__INVALID_ATOMIC_ACCESS_TEST(BPF_ADD),
1515
__INVALID_ATOMIC_ACCESS_TEST(BPF_ADD | BPF_FETCH),
16-
__INVALID_ATOMIC_ACCESS_TEST(BPF_ADD),
17-
__INVALID_ATOMIC_ACCESS_TEST(BPF_ADD | BPF_FETCH),
1816
__INVALID_ATOMIC_ACCESS_TEST(BPF_AND),
1917
__INVALID_ATOMIC_ACCESS_TEST(BPF_AND | BPF_FETCH),
2018
__INVALID_ATOMIC_ACCESS_TEST(BPF_OR),

0 commit comments

Comments
 (0)