2020-03-17 15:52:14 +00:00
|
|
|
load("defs.bzl", "packetimpact_go_test")
|
|
|
|
|
|
|
|
package(
|
|
|
|
default_visibility = ["//test/packetimpact:__subpackages__"],
|
|
|
|
licenses = ["notice"],
|
|
|
|
)
|
|
|
|
|
|
|
|
packetimpact_go_test(
|
|
|
|
name = "fin_wait2_timeout",
|
|
|
|
srcs = ["fin_wait2_timeout_test.go"],
|
|
|
|
deps = [
|
|
|
|
"//pkg/tcpip/header",
|
|
|
|
"//test/packetimpact/testbench",
|
|
|
|
"@org_golang_x_sys//unix:go_default_library",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
2020-04-01 02:51:52 +00:00
|
|
|
packetimpact_go_test(
|
|
|
|
name = "udp_recv_multicast",
|
|
|
|
srcs = ["udp_recv_multicast_test.go"],
|
|
|
|
# TODO(b/152813495): Fix netstack then remove the line below.
|
|
|
|
netstack = False,
|
|
|
|
deps = [
|
|
|
|
"//pkg/tcpip",
|
|
|
|
"//pkg/tcpip/header",
|
|
|
|
"//test/packetimpact/testbench",
|
|
|
|
"@org_golang_x_sys//unix:go_default_library",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
2020-04-08 00:48:06 +00:00
|
|
|
packetimpact_go_test(
|
|
|
|
name = "tcp_window_shrink",
|
|
|
|
srcs = ["tcp_window_shrink_test.go"],
|
|
|
|
# TODO(b/153202472): Fix netstack then remove the line below.
|
|
|
|
netstack = False,
|
|
|
|
deps = [
|
|
|
|
"//pkg/tcpip/header",
|
|
|
|
"//test/packetimpact/testbench",
|
|
|
|
"@org_golang_x_sys//unix:go_default_library",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
2020-04-16 02:36:03 +00:00
|
|
|
packetimpact_go_test(
|
|
|
|
name = "tcp_outside_the_window",
|
|
|
|
srcs = ["tcp_outside_the_window_test.go"],
|
|
|
|
deps = [
|
|
|
|
"//pkg/tcpip/header",
|
|
|
|
"//pkg/tcpip/seqnum",
|
|
|
|
"//test/packetimpact/testbench",
|
|
|
|
"@org_golang_x_sys//unix:go_default_library",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
2020-04-10 15:20:56 +00:00
|
|
|
packetimpact_go_test(
|
|
|
|
name = "tcp_noaccept_close_rst",
|
|
|
|
srcs = ["tcp_noaccept_close_rst_test.go"],
|
|
|
|
deps = [
|
|
|
|
"//pkg/tcpip/header",
|
|
|
|
"//test/packetimpact/testbench",
|
|
|
|
"@org_golang_x_sys//unix:go_default_library",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
2020-04-14 18:04:30 +00:00
|
|
|
packetimpact_go_test(
|
|
|
|
name = "tcp_should_piggyback",
|
|
|
|
srcs = ["tcp_should_piggyback_test.go"],
|
|
|
|
# TODO(b/153680566): Fix netstack then remove the line below.
|
|
|
|
netstack = False,
|
|
|
|
deps = [
|
|
|
|
"//pkg/tcpip/header",
|
|
|
|
"//test/packetimpact/testbench",
|
|
|
|
"@org_golang_x_sys//unix:go_default_library",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
2020-04-16 19:21:06 +00:00
|
|
|
packetimpact_go_test(
|
|
|
|
name = "tcp_close_wait_ack",
|
|
|
|
srcs = ["tcp_close_wait_ack_test.go"],
|
|
|
|
# TODO(b/153574037): Fix netstack then remove the line below.
|
|
|
|
netstack = False,
|
|
|
|
deps = [
|
|
|
|
"//pkg/tcpip/header",
|
|
|
|
"//pkg/tcpip/seqnum",
|
|
|
|
"//test/packetimpact/testbench",
|
|
|
|
"@org_golang_x_sys//unix:go_default_library",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
2020-04-20 03:47:55 +00:00
|
|
|
packetimpact_go_test(
|
|
|
|
name = "tcp_user_timeout",
|
|
|
|
srcs = ["tcp_user_timeout_test.go"],
|
|
|
|
deps = [
|
|
|
|
"//pkg/tcpip/header",
|
|
|
|
"//test/packetimpact/testbench",
|
|
|
|
"@org_golang_x_sys//unix:go_default_library",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
2020-03-17 15:52:14 +00:00
|
|
|
sh_binary(
|
|
|
|
name = "test_runner",
|
|
|
|
srcs = ["test_runner.sh"],
|
|
|
|
)
|