From 78c6dd65953307dd0b550a16d92267a450c01309 Mon Sep 17 00:00:00 2001 From: "dkegel@google.com" Date: Mon, 8 Jun 2009 23:29:11 +0000 Subject: Enable zygote manager by default. Fix broken recursion check. Make OpenFile warning less scary, indicate it's normal at start of ui tests. Make ui tests pass. Avoid generating extra code on Mac. BUG=11841 TEST=start the browser, then make chrome and all .pak files unreadable; or alternately, start an installed browser, and uninstall the browser while it's running. Then create a new tab and browse to two new sites. Review URL: http://codereview.chromium.org/119289 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17909 0039d316-1c4b-4281-b951-d872f2087c98 --- base/process_util_unittest.cc | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'base/process_util_unittest.cc') diff --git a/base/process_util_unittest.cc b/base/process_util_unittest.cc index 1e5c272..7b30be6 100644 --- a/base/process_util_unittest.cc +++ b/base/process_util_unittest.cc @@ -270,6 +270,13 @@ TEST_F(ProcessUtilTest, GetAppOutput) { EXPECT_STREQ("foobar42", output.c_str()); } +#if defined(OS_LINUX) +TEST_F(ProcessUtilTest, GetParentProcessId) { + base::ProcessId ppid = GetParentProcessId(GetCurrentProcId()); + EXPECT_EQ(ppid, getppid()); +} +#endif + #endif // defined(OS_POSIX) } // namespace base -- cgit v1.1