summaryrefslogtreecommitdiffhomepage
path: root/test/syscalls
diff options
context:
space:
mode:
Diffstat (limited to 'test/syscalls')
-rw-r--r--test/syscalls/linux/BUILD7
-rw-r--r--test/syscalls/linux/exit.cc1
-rw-r--r--test/syscalls/linux/futex.cc1
-rw-r--r--test/syscalls/linux/proc.cc1
-rw-r--r--test/syscalls/linux/proc_pid_uid_gid_map.cc1
-rw-r--r--test/syscalls/linux/ptrace.cc1
-rw-r--r--test/syscalls/linux/vfork.cc1
-rw-r--r--test/syscalls/linux/wait.cc1
8 files changed, 14 insertions, 0 deletions
diff --git a/test/syscalls/linux/BUILD b/test/syscalls/linux/BUILD
index 014679ec5..750f3a1e2 100644
--- a/test/syscalls/linux/BUILD
+++ b/test/syscalls/linux/BUILD
@@ -638,6 +638,7 @@ cc_binary(
"//test/util:file_descriptor",
"//test/util:test_main",
"//test/util:test_util",
+ "//test/util:time_util",
"@com_google_absl//absl/time",
"@com_google_googletest//:gtest",
],
@@ -815,6 +816,7 @@ cc_binary(
"//test/util:test_main",
"//test/util:test_util",
"//test/util:thread_util",
+ "//test/util:time_util",
"//test/util:timer_util",
"@com_google_absl//absl/memory",
"@com_google_absl//absl/time",
@@ -1410,6 +1412,7 @@ cc_binary(
"//test/util:temp_path",
"//test/util:test_util",
"//test/util:thread_util",
+ "//test/util:time_util",
"//test/util:timer_util",
"@com_google_absl//absl/strings",
"@com_google_absl//absl/synchronization",
@@ -1470,6 +1473,7 @@ cc_binary(
"//test/util:save_util",
"//test/util:test_main",
"//test/util:test_util",
+ "//test/util:time_util",
"@com_google_absl//absl/strings",
"@com_google_googletest//:gtest",
],
@@ -1501,6 +1505,7 @@ cc_binary(
"//test/util:signal_util",
"//test/util:test_util",
"//test/util:thread_util",
+ "//test/util:time_util",
"@com_google_absl//absl/time",
"@com_google_googletest//:gtest",
],
@@ -3161,6 +3166,7 @@ cc_binary(
"//test/util:logging",
"//test/util:multiprocess_util",
"//test/util:test_util",
+ "//test/util:time_util",
"@com_google_absl//absl/time",
"@com_google_googletest//:gtest",
],
@@ -3180,6 +3186,7 @@ cc_binary(
"//test/util:test_main",
"//test/util:test_util",
"//test/util:thread_util",
+ "//test/util:time_util",
"@com_google_absl//absl/strings",
"@com_google_absl//absl/synchronization",
"@com_google_absl//absl/time",
diff --git a/test/syscalls/linux/exit.cc b/test/syscalls/linux/exit.cc
index 99de2b376..d52ea786b 100644
--- a/test/syscalls/linux/exit.cc
+++ b/test/syscalls/linux/exit.cc
@@ -19,6 +19,7 @@
#include "absl/time/time.h"
#include "test/util/file_descriptor.h"
#include "test/util/test_util.h"
+#include "test/util/time_util.h"
namespace gvisor {
namespace testing {
diff --git a/test/syscalls/linux/futex.cc b/test/syscalls/linux/futex.cc
index bfec95466..aacbb5e70 100644
--- a/test/syscalls/linux/futex.cc
+++ b/test/syscalls/linux/futex.cc
@@ -36,6 +36,7 @@
#include "test/util/temp_path.h"
#include "test/util/test_util.h"
#include "test/util/thread_util.h"
+#include "test/util/time_util.h"
#include "test/util/timer_util.h"
namespace gvisor {
diff --git a/test/syscalls/linux/proc.cc b/test/syscalls/linux/proc.cc
index d0c3a90b3..e2e8a4ff1 100644
--- a/test/syscalls/linux/proc.cc
+++ b/test/syscalls/linux/proc.cc
@@ -62,6 +62,7 @@
#include "test/util/temp_path.h"
#include "test/util/test_util.h"
#include "test/util/thread_util.h"
+#include "test/util/time_util.h"
#include "test/util/timer_util.h"
// NOTE(magi): No, this isn't really a syscall but this is a really simple
diff --git a/test/syscalls/linux/proc_pid_uid_gid_map.cc b/test/syscalls/linux/proc_pid_uid_gid_map.cc
index df70b7eb9..748f7be58 100644
--- a/test/syscalls/linux/proc_pid_uid_gid_map.cc
+++ b/test/syscalls/linux/proc_pid_uid_gid_map.cc
@@ -37,6 +37,7 @@
#include "test/util/posix_error.h"
#include "test/util/save_util.h"
#include "test/util/test_util.h"
+#include "test/util/time_util.h"
namespace gvisor {
namespace testing {
diff --git a/test/syscalls/linux/ptrace.cc b/test/syscalls/linux/ptrace.cc
index 4c212836c..abf2b1a04 100644
--- a/test/syscalls/linux/ptrace.cc
+++ b/test/syscalls/linux/ptrace.cc
@@ -34,6 +34,7 @@
#include "test/util/signal_util.h"
#include "test/util/test_util.h"
#include "test/util/thread_util.h"
+#include "test/util/time_util.h"
DEFINE_bool(ptrace_test_execve_child, false,
"If true, run the "
diff --git a/test/syscalls/linux/vfork.cc b/test/syscalls/linux/vfork.cc
index 631a53654..f67b06f37 100644
--- a/test/syscalls/linux/vfork.cc
+++ b/test/syscalls/linux/vfork.cc
@@ -26,6 +26,7 @@
#include "test/util/logging.h"
#include "test/util/multiprocess_util.h"
#include "test/util/test_util.h"
+#include "test/util/time_util.h"
DEFINE_bool(vfork_test_child, false,
"If true, run the VforkTest child workload.");
diff --git a/test/syscalls/linux/wait.cc b/test/syscalls/linux/wait.cc
index f413ee6ae..aa27194cb 100644
--- a/test/syscalls/linux/wait.cc
+++ b/test/syscalls/linux/wait.cc
@@ -37,6 +37,7 @@
#include "test/util/signal_util.h"
#include "test/util/test_util.h"
#include "test/util/thread_util.h"
+#include "test/util/time_util.h"
using ::testing::UnorderedElementsAre;