diff options
author | Kevin Krakauer <krakauer@google.com> | 2019-08-20 16:34:37 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2019-08-20 16:36:06 -0700 |
commit | 6c3a242143dd234e7ef5979a41dfe648cea23d84 (patch) | |
tree | 2365d5f50e24bf5e571eaeac6a67b23843fd01d9 /test/syscalls/linux/BUILD | |
parent | 3d0715b3f8e7864104e9cbb29b16e6a6b7568d63 (diff) |
Add tests for raw AF_PACKET sockets.
PiperOrigin-RevId: 264494359
Diffstat (limited to 'test/syscalls/linux/BUILD')
-rw-r--r-- | test/syscalls/linux/BUILD | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/test/syscalls/linux/BUILD b/test/syscalls/linux/BUILD index e2b0716ef..ca4344139 100644 --- a/test/syscalls/linux/BUILD +++ b/test/syscalls/linux/BUILD @@ -1227,6 +1227,24 @@ cc_binary( ) cc_binary( + name = "packet_socket_raw_test", + testonly = 1, + srcs = ["packet_socket_raw.cc"], + linkstatic = 1, + deps = [ + ":socket_test_util", + ":unix_domain_socket_test_util", + "//test/util:capability_util", + "//test/util:file_descriptor", + "//test/util:test_main", + "//test/util:test_util", + "@com_google_absl//absl/base:core_headers", + "@com_google_absl//absl/base:endian", + "@com_google_googletest//:gtest", + ], +) + +cc_binary( name = "packet_socket_test", testonly = 1, srcs = ["packet_socket.cc"], |