summaryrefslogtreecommitdiffstats
path: root/base/process_util_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'base/process_util_unittest.cc')
-rw-r--r--base/process_util_unittest.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/base/process_util_unittest.cc b/base/process_util_unittest.cc
index bcc1308..0403d7a 100644
--- a/base/process_util_unittest.cc
+++ b/base/process_util_unittest.cc
@@ -538,7 +538,11 @@ std::string TestLaunchProcess(const base::environment_vector& env_changes,
options.wait = true;
options.environ = &env_changes;
options.fds_to_remap = &fds_to_remap;
+#if defined(OS_LINUX)
options.clone_flags = clone_flags;
+#else
+ CHECK_EQ(0, clone_flags);
+#endif // OS_LINUX
EXPECT_TRUE(base::LaunchProcess(args, options, NULL));
PCHECK(HANDLE_EINTR(close(fds[1])) == 0);