summaryrefslogtreecommitdiffhomepage
path: root/test/syscalls
diff options
context:
space:
mode:
Diffstat (limited to 'test/syscalls')
-rw-r--r--test/syscalls/BUILD4
-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
3 files changed, 7 insertions, 8 deletions
diff --git a/test/syscalls/BUILD b/test/syscalls/BUILD
index 3b55112e6..b66112f6e 100644
--- a/test/syscalls/BUILD
+++ b/test/syscalls/BUILD
@@ -359,11 +359,11 @@ syscall_test(
)
syscall_test(
- test = "//test/syscalls/linux:packet_socket_raw_test",
+ test = "//test/syscalls/linux:packet_socket_dgram_test",
)
syscall_test(
- test = "//test/syscalls/linux:packet_socket_test",
+ test = "//test/syscalls/linux:packet_socket_raw_test",
)
syscall_test(
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