Skip to content

Commit c3566ee

Browse files
TropicaoMartin KaFai Lau
authored andcommitted
selftests/bpf: remove test_tcp_check_syncookie
Now that btf_skc_cls_ingress has the same coverage as test_tcp_check_syncookie, remove the second one and keep the first one as it is integrated in test_progs Signed-off-by: Alexis Lothoré (eBPF Foundation) <alexis.lothore@bootlin.com> Link: https://lore.kernel.org/r/20241020-syncookie-v2-6-2db240225fed@bootlin.com Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
1 parent 3845ce7 commit c3566ee

File tree

5 files changed

+3
-472
lines changed

5 files changed

+3
-472
lines changed

tools/testing/selftests/bpf/.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ test_flow_dissector
2424
flow_dissector_load
2525
test_tcpnotify_user
2626
test_libbpf
27-
test_tcp_check_syncookie_user
2827
test_sysctl
2928
xdping
3029
test_cpp

tools/testing/selftests/bpf/Makefile

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,6 @@ TEST_PROGS := test_kmod.sh \
137137
test_xdp_vlan_mode_generic.sh \
138138
test_xdp_vlan_mode_native.sh \
139139
test_lwt_ip_encap.sh \
140-
test_tcp_check_syncookie.sh \
141140
test_tc_tunnel.sh \
142141
test_tc_edt.sh \
143142
test_xdping.sh \
@@ -154,10 +153,9 @@ TEST_PROGS_EXTENDED := with_addr.sh \
154153

155154
# Compile but not part of 'make run_tests'
156155
TEST_GEN_PROGS_EXTENDED = \
157-
flow_dissector_load test_flow_dissector test_tcp_check_syncookie_user \
158-
test_lirc_mode2_user xdping test_cpp runqslower bench bpf_testmod.ko \
159-
xskxceiver xdp_redirect_multi xdp_synproxy veristat xdp_hw_metadata \
160-
xdp_features bpf_test_no_cfi.ko
156+
flow_dissector_load test_flow_dissector test_lirc_mode2_user xdping \
157+
test_cpp runqslower bench bpf_testmod.ko xskxceiver xdp_redirect_multi \
158+
xdp_synproxy veristat xdp_hw_metadata xdp_features bpf_test_no_cfi.ko
161159

162160
TEST_GEN_FILES += liburandom_read.so urandom_read sign-file uprobe_multi
163161

@@ -347,7 +345,6 @@ $(OUTPUT)/flow_dissector_load: $(TESTING_HELPERS)
347345
$(OUTPUT)/test_maps: $(TESTING_HELPERS)
348346
$(OUTPUT)/test_verifier: $(TESTING_HELPERS) $(CAP_HELPERS) $(UNPRIV_HELPERS)
349347
$(OUTPUT)/xsk.o: $(BPFOBJ)
350-
$(OUTPUT)/test_tcp_check_syncookie_user: $(NETWORK_HELPERS)
351348

352349
BPFTOOL ?= $(DEFAULT_BPFTOOL)
353350
$(DEFAULT_BPFTOOL): $(wildcard $(BPFTOOLDIR)/*.[ch] $(BPFTOOLDIR)/Makefile) \

tools/testing/selftests/bpf/progs/test_tcp_check_syncookie_kern.c

Lines changed: 0 additions & 167 deletions
This file was deleted.

tools/testing/selftests/bpf/test_tcp_check_syncookie.sh

Lines changed: 0 additions & 85 deletions
This file was deleted.

0 commit comments

Comments
 (0)