Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(127)

Side by Side Diff: sandbox/linux/tests/main.cc

Issue 54643010: Linux: add basic unprivileged namespace support. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: (unneeded) rebase Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « sandbox/linux/services/credentials_unittest.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "base/at_exit.h"
5 #include "testing/gtest/include/gtest/gtest.h" 6 #include "testing/gtest/include/gtest/gtest.h"
6 7
7 int main(int argc, char *argv[]) { 8 int main(int argc, char *argv[]) {
9 // The use of Callbacks requires an AtExitManager.
10 base::AtExitManager exit_manager;
8 testing::InitGoogleTest(&argc, argv); 11 testing::InitGoogleTest(&argc, argv);
9 // Always go through re-execution for death tests. 12 // Always go through re-execution for death tests.
10 // This makes gtest only marginally slower for us and has the 13 // This makes gtest only marginally slower for us and has the
11 // additional side effect of getting rid of gtest warnings about fork() 14 // additional side effect of getting rid of gtest warnings about fork()
12 // safety. 15 // safety.
13 ::testing::FLAGS_gtest_death_test_style = "threadsafe"; 16 ::testing::FLAGS_gtest_death_test_style = "threadsafe";
14 return RUN_ALL_TESTS(); 17 return RUN_ALL_TESTS();
15 } 18 }
OLDNEW
« no previous file with comments | « sandbox/linux/services/credentials_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698