From d1859fe179bae1614ba91a45497ad63400210863 Mon Sep 17 00:00:00 2001 From: Fabricio Voznika Date: Thu, 22 Apr 2021 18:36:15 -0700 Subject: Add mlock syscall test PiperOrigin-RevId: 369993733 --- test/syscalls/BUILD | 38 ++++++++++++++++++++++---------------- 1 file changed, 22 insertions(+), 16 deletions(-) (limited to 'test') diff --git a/test/syscalls/BUILD b/test/syscalls/BUILD index affcae8fd..0435f61a2 100644 --- a/test/syscalls/BUILD +++ b/test/syscalls/BUILD @@ -3,6 +3,8 @@ load("//test/runner:defs.bzl", "syscall_test") package(licenses = ["notice"]) +# Please keep syscall tests ordered alphabetically by name. + syscall_test( test = "//test/syscalls/linux:32bit_test", ) @@ -56,17 +58,7 @@ syscall_test( ) syscall_test( - test = "//test/syscalls/linux:socket_test", -) - -syscall_test( - test = "//test/syscalls/linux:socket_capability_test", -) - -syscall_test( - size = "large", - shard_count = most_shards, - test = "//test/syscalls/linux:socket_stress_test", + test = "//test/syscalls/linux:cgroup_test", ) syscall_test( @@ -310,6 +302,10 @@ syscall_test( test = "//test/syscalls/linux:mknod_test", ) +syscall_test( + test = "//test/syscalls/linux:mlock_test", +) + syscall_test( size = "medium", shard_count = more_shards, @@ -321,10 +317,6 @@ syscall_test( test = "//test/syscalls/linux:mount_test", ) -syscall_test( - test = "//test/syscalls/linux:verity_mount_test", -) - syscall_test( size = "medium", test = "//test/syscalls/linux:mremap_test", @@ -611,6 +603,10 @@ syscall_test( test = "//test/syscalls/linux:socket_abstract_test", ) +syscall_test( + test = "//test/syscalls/linux:socket_capability_test", +) + syscall_test( size = "medium", test = "//test/syscalls/linux:socket_domain_non_blocking_test", @@ -779,6 +775,16 @@ syscall_test( test = "//test/syscalls/linux:socket_stream_nonblock_local_test", ) +syscall_test( + size = "large", + shard_count = most_shards, + test = "//test/syscalls/linux:socket_stress_test", +) + +syscall_test( + test = "//test/syscalls/linux:socket_test", +) + syscall_test( flaky = 1, # NOTE(b/116636318): Large sendmsg may stall a long time. shard_count = more_shards, @@ -1003,5 +1009,5 @@ syscall_test( ) syscall_test( - test = "//test/syscalls/linux:cgroup_test", + test = "//test/syscalls/linux:verity_mount_test", ) -- cgit v1.2.3