diff options
author | Kevin Krakauer <krakauer@google.com> | 2019-08-15 16:30:25 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2019-08-15 16:31:35 -0700 |
commit | ef045b914bc8d9795f9184aed4b13351be70a3cf (patch) | |
tree | 6a6cfa039c5f7de68ad8e04910483b7c4b1833d6 /test/syscalls/linux/BUILD | |
parent | 6cfc76798b586a6c33c1ec311cb5f0d82b90ca72 (diff) |
Add tests for "cooked" AF_PACKET sockets.
PiperOrigin-RevId: 263666789
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 d28ce4ba1..db0a1e661 100644 --- a/test/syscalls/linux/BUILD +++ b/test/syscalls/linux/BUILD @@ -1209,6 +1209,24 @@ cc_binary( ) cc_binary( + name = "packet_socket_test", + testonly = 1, + srcs = ["packet_socket.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 = "pty_test", testonly = 1, srcs = ["pty.cc"], |