summaryrefslogtreecommitdiffhomepage
path: root/test/syscalls/linux/BUILD
diff options
context:
space:
mode:
authorZach Koopmans <zkoopmans@google.com>2020-08-18 09:53:47 -0700
committergVisor bot <gvisor-bot@google.com>2020-08-18 10:02:27 -0700
commit673b6cc7fc4a99c8fb20f7becb91288ce98ae593 (patch)
tree1b6768bcae4436afc8f6ed47dad142f9035a2712 /test/syscalls/linux/BUILD
parentda5c2ea6dc4ea01c667bff88aa37f5efb39b704a (diff)
Fix readahead test for opensource.
Skip InvalidOffset and InvalidLength for Linux as the test is invalid for later Kernel versions. Add UnsupportedFile test as this check is in all kernel versions. PiperOrigin-RevId: 327248035
Diffstat (limited to 'test/syscalls/linux/BUILD')
-rw-r--r--test/syscalls/linux/BUILD1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/syscalls/linux/BUILD b/test/syscalls/linux/BUILD
index 66a31cd28..6299870bc 100644
--- a/test/syscalls/linux/BUILD
+++ b/test/syscalls/linux/BUILD
@@ -1862,6 +1862,7 @@ cc_binary(
srcs = ["readahead.cc"],
linkstatic = 1,
deps = [
+ ":socket_test_util",
"//test/util:file_descriptor",
gtest,
"//test/util:temp_path",