summaryrefslogtreecommitdiffhomepage
path: root/test/syscalls/linux
diff options
context:
space:
mode:
Diffstat (limited to 'test/syscalls/linux')
-rw-r--r--test/syscalls/linux/BUILD11
-rw-r--r--test/syscalls/linux/packet_socket_dgram.cc (renamed from test/syscalls/linux/packet_socket.cc)0
2 files changed, 5 insertions, 6 deletions
diff --git a/test/syscalls/linux/BUILD b/test/syscalls/linux/BUILD
index a4efd9486..1fcf78ddf 100644
--- a/test/syscalls/linux/BUILD
+++ b/test/syscalls/linux/BUILD
@@ -7,7 +7,7 @@ package(
exports_files(
[
- "packet_socket.cc",
+ "packet_socket_dgram.cc",
"packet_socket_raw.cc",
"raw_socket.cc",
"raw_socket_hdrincl.cc",
@@ -1441,10 +1441,9 @@ cc_binary(
)
cc_binary(
- name = "packet_socket_raw_test",
+ name = "packet_socket_dgram_test",
testonly = 1,
- srcs = ["packet_socket_raw.cc"],
- defines = select_system(),
+ srcs = ["packet_socket_dgram.cc"],
linkstatic = 1,
deps = [
":ip_socket_test_util",
@@ -1462,9 +1461,9 @@ cc_binary(
)
cc_binary(
- name = "packet_socket_test",
+ name = "packet_socket_raw_test",
testonly = 1,
- srcs = ["packet_socket.cc"],
+ srcs = ["packet_socket_raw.cc"],
linkstatic = 1,
deps = [
":ip_socket_test_util",
diff --git a/test/syscalls/linux/packet_socket.cc b/test/syscalls/linux/packet_socket_dgram.cc
index 9515a48f2..9515a48f2 100644
--- a/test/syscalls/linux/packet_socket.cc
+++ b/test/syscalls/linux/packet_socket_dgram.cc