summaryrefslogtreecommitdiffhomepage
path: root/test/syscalls/linux/BUILD
diff options
context:
space:
mode:
authorAndrei Vagin <avagin@google.com>2019-05-28 22:28:01 -0700
committerShentubot <shentubot@google.com>2019-05-30 12:06:15 -0700
commit4b9cb381572e0f61f2a6c2259094548172900e0d (patch)
tree8f995b4453216f545a27249bbf28a4f354aecc5d /test/syscalls/linux/BUILD
parent507a15dce974d0cff18253ba50af29d6579bacc5 (diff)
gvisor: socket() returns EPROTONOSUPPORT if protocol is not supported
PiperOrigin-RevId: 250426407
Diffstat (limited to 'test/syscalls/linux/BUILD')
-rw-r--r--test/syscalls/linux/BUILD13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/syscalls/linux/BUILD b/test/syscalls/linux/BUILD
index ec57ec129..8465e5ad0 100644
--- a/test/syscalls/linux/BUILD
+++ b/test/syscalls/linux/BUILD
@@ -313,6 +313,19 @@ cc_binary(
)
cc_binary(
+ name = "socket_test",
+ testonly = 1,
+ srcs = ["socket.cc"],
+ linkstatic = 1,
+ deps = [
+ ":socket_test_util",
+ "//test/util:test_main",
+ "//test/util:test_util",
+ "@com_google_googletest//:gtest",
+ ],
+)
+
+cc_binary(
name = "brk_test",
testonly = 1,
srcs = ["brk.cc"],