From a6b4538ae0b0020b14c8292d98e2549719a49e4c Mon Sep 17 00:00:00 2001 From: Jay Zhuang Date: Wed, 29 Jul 2020 06:21:39 -0700 Subject: Test UDP socket bound to ANY can receive unicast PiperOrigin-RevId: 323773771 --- test/packetimpact/tests/BUILD | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'test/packetimpact/tests/BUILD') diff --git a/test/packetimpact/tests/BUILD b/test/packetimpact/tests/BUILD index 27905dcff..0c2a05380 100644 --- a/test/packetimpact/tests/BUILD +++ b/test/packetimpact/tests/BUILD @@ -46,6 +46,18 @@ packetimpact_go_test( "//pkg/tcpip", "//pkg/tcpip/header", "//test/packetimpact/testbench", + "@com_github_google_go_cmp//cmp:go_default_library", + "@org_golang_x_sys//unix:go_default_library", + ], +) + +packetimpact_go_test( + name = "udp_any_addr_recv_unicast", + srcs = ["udp_any_addr_recv_unicast_test.go"], + deps = [ + "//pkg/tcpip", + "//test/packetimpact/testbench", + "@com_github_google_go_cmp//cmp:go_default_library", "@org_golang_x_sys//unix:go_default_library", ], ) @@ -294,6 +306,7 @@ packetimpact_go_test( srcs = ["udp_send_recv_dgram_test.go"], deps = [ "//test/packetimpact/testbench", + "@com_github_google_go_cmp//cmp:go_default_library", "@org_golang_x_sys//unix:go_default_library", ], ) -- cgit v1.2.3