gvisor/test/util
Fabricio Voznika 7bde26934a Add IsRunningWithVFS1 to test util
VFS2 is adding more functionality than VFS1. In order to test
new functionality, it's required to skip some tests with VFS1.
To skip tests, use:

SKIP_IF(IsRunningWithVFS1());

The test will run in Linux and gVisor with VFS2 enabled.

Updates #1035

PiperOrigin-RevId: 312698616
2020-05-21 10:48:25 -07:00
..
BUILD Move temp_umask to test/util. 2020-03-03 12:38:00 -08:00
capability_util.cc Add missing newline 2020-04-03 11:38:37 -07:00
capability_util.h Fix various spelling issues in the documentation 2019-06-27 14:25:50 -07:00
cleanup.h Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
epoll_util.cc Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
epoll_util.h Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
eventfd_util.h Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
file_descriptor.h Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
fs_util.cc Fix header ordering and format all C++ code. 2020-01-27 18:27:20 -08:00
fs_util.h Unify the kOLargeFile definition in syscall tests. 2020-01-23 01:04:02 +00:00
fs_util_test.cc Import and structure cleanup. 2019-11-21 11:41:30 -08:00
logging.cc Fix suggestions from clang. 2019-06-28 15:32:29 -07:00
logging.h Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
memory_util.h Deflake aio_test. 2019-09-05 16:36:44 -07:00
mount_util.h Prefer Type& over Type & 2020-01-28 11:18:17 -08:00
multiprocess_util.cc Change to standard types. 2020-01-21 17:28:57 -08:00
multiprocess_util.h Fix header ordering and format all C++ code. 2020-01-27 18:27:20 -08:00
platform_util.cc KVM platform does not support 32bit. 2020-01-31 10:07:45 -08:00
platform_util.h Create platform_util for tests. 2020-01-27 22:28:43 -08:00
posix_error.cc Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
posix_error.h Fix suggestions from clang. 2019-06-28 15:32:29 -07:00
posix_error_test.cc Import and structure cleanup. 2019-11-21 11:41:30 -08:00
proc_util.cc Change to standard types. 2020-01-21 17:28:57 -08:00
proc_util.h Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
proc_util_test.cc Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
pty_util.cc Check that a file is a regular file with open(O_TRUNC). 2019-11-14 16:08:34 -08:00
pty_util.h Check that a file is a regular file with open(O_TRUNC). 2019-11-14 16:08:34 -08:00
rlimit_util.cc Import and structure cleanup. 2019-11-21 11:41:30 -08:00
rlimit_util.h Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
save_util.cc Internal change. 2019-08-26 14:07:17 -07:00
save_util.h Internal change. 2019-08-26 14:07:17 -07:00
save_util_linux.cc Standardize on tools directory. 2020-01-27 12:21:00 -08:00
save_util_other.cc Standardize on tools directory. 2020-01-27 12:21:00 -08:00
signal_util.cc Import and structure cleanup. 2019-11-21 11:41:30 -08:00
signal_util.h Enable build of test/syscall tests on arm64. 2020-01-17 07:39:57 +00:00
temp_path.cc Add notes to relevant tests. 2020-02-05 22:46:35 -08:00
temp_path.h Import and structure cleanup. 2019-11-21 11:41:30 -08:00
temp_umask.h Move temp_umask to test/util. 2020-03-03 12:38:00 -08:00
test_main.cc Add basic microbenchmarks. 2020-02-19 18:21:54 -08:00
test_util.cc Add IsRunningWithVFS1 to test util 2020-05-21 10:48:25 -07:00
test_util.h Add IsRunningWithVFS1 to test util 2020-05-21 10:48:25 -07:00
test_util_impl.cc Add basic microbenchmarks. 2020-02-19 18:21:54 -08:00
test_util_runfiles.cc Standardize on tools directory. 2020-01-27 12:21:00 -08:00
test_util_test.cc Change to standard types. 2020-01-21 17:28:57 -08:00
thread_util.h Internal change. 2019-08-26 14:07:17 -07:00
time_util.cc Extract SleepSafe from test_util 2019-05-24 12:58:46 -07:00
time_util.h Extract SleepSafe from test_util 2019-05-24 12:58:46 -07:00
timer_util.cc Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
timer_util.h Fix various spelling issues in the documentation 2019-06-27 14:25:50 -07:00
uid_util.cc Implement SO_BINDTODEVICE sockopt 2019-09-27 14:14:04 -07:00
uid_util.h Implement SO_BINDTODEVICE sockopt 2019-09-27 14:14:04 -07:00