Updating XTBs based on .GRDs from branch master
[chromium-blink-merge.git] / sandbox / linux / tests / test_utils_unittest.cc
blob0f86e616e9ba2c9453152d74c2a8b6bd99917d65
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "sandbox/linux/tests/test_utils.h"
7 #include <sys/types.h>
8 #include <unistd.h>
10 #include "testing/gtest/include/gtest/gtest.h"
12 namespace sandbox {
14 namespace {
16 // Check that HandlePostForkReturn works.
17 TEST(TestUtils, HandlePostForkReturn) {
18 pid_t pid = fork();
19 TestUtils::HandlePostForkReturn(pid);
22 } // namespace
24 } // namespace sandbox