diff options
author | Fabricio Voznika <fvoznika@google.com> | 2019-01-24 14:19:07 -0800 |
---|---|---|
committer | Shentubot <shentubot@google.com> | 2019-01-24 14:20:16 -0800 |
commit | 01679f3b5ab957c274690a62f0fce5d332ee94af (patch) | |
tree | d8379c22c1a4df03c096984eb2cfe0b3c5582311 /test/syscalls/BUILD | |
parent | 79e0451bd11645b0dff34c3a6c6131ed68c822f7 (diff) |
Increase gofer coverage in tests
Lots of tests use /tmp for the tests. Force /tmp to be
mounted over fsgofer instead of tmpfs.
PiperOrigin-RevId: 230788985
Change-Id: Id6597ed88133232d15e808c48126bf77cb32673e
Diffstat (limited to 'test/syscalls/BUILD')
-rw-r--r-- | test/syscalls/BUILD | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/test/syscalls/BUILD b/test/syscalls/BUILD index c46ac77f7..8c391c8a6 100644 --- a/test/syscalls/BUILD +++ b/test/syscalls/BUILD @@ -42,6 +42,7 @@ syscall_test(test = "//test/syscalls/linux:chmod_test") syscall_test( size = "medium", test = "//test/syscalls/linux:chown_test", + use_tmpfs = True, # chwon tests require gofer to be running as root. ) syscall_test(test = "//test/syscalls/linux:chroot_test") @@ -137,7 +138,10 @@ syscall_test( syscall_test(test = "//test/syscalls/linux:kill_test") -syscall_test(test = "//test/syscalls/linux:link_test") +syscall_test( + test = "//test/syscalls/linux:link_test", + use_tmpfs = True, # gofer needs CAP_DAC_READ_SEARCH to use AT_EMPTY_PATH with linkat(2) +) syscall_test(test = "//test/syscalls/linux:lseek_test") @@ -151,7 +155,10 @@ syscall_test(test = "//test/syscalls/linux:mincore_test") syscall_test(test = "//test/syscalls/linux:mkdir_test") -syscall_test(test = "//test/syscalls/linux:mknod_test") +syscall_test( + test = "//test/syscalls/linux:mknod_test", + use_tmpfs = True, # mknod is not supported over gofer. +) syscall_test( size = "medium", |