Home | History | Annotate | Download | only in test

Lines Matching refs:_exit

120     // We call _exit() instead of exit(), as the former is a direct
124 _exit(1);
132 _exit(1);
214 // Returns the exit status of a process that calls _exit(2) with a
220 _exit(exit_code);
236 _exit(1);
282 EXPECT_DEATH(_exit(1), "");
294 EXPECT_DEATH(_exit(1), "") << 1 << 2 << 3;
300 _exit(1);
326 ASSERT_DEATH(_exit(1), "") << "exit in default switch handler";
330 EXPECT_DEATH(_exit(1), "") << "exit in switch case";
360 EXPECT_EXIT(_exit(1), testing::ExitedWithCode(1), "");
363 ASSERT_DEATH(_exit(1), "");
383 EXPECT_EXIT(_exit(i), testing::ExitedWithCode(i), "") << ": i = " << i;
390 EXPECT_EXIT(_exit(1), testing::ExitedWithCode(1), "");
393 ASSERT_DEATH(_exit(1), "");
398 EXPECT_DEATH(_exit(1), "");
400 EXPECT_DEATH(_exit(1), "");
420 ASSERT_DEATH(_exit(1), "");
657 // Tests the *_EXIT family of macros, using a variety of predicates.
659 EXPECT_EXIT(_exit(1), testing::ExitedWithCode(1), "");
660 ASSERT_EXIT(_exit(42), testing::ExitedWithCode(42), "");
690 ASSERT_EXIT(_exit(0), testing::KilledBySignal(SIGSEGV), "")
713 EXPECT_DEATH(_exit(0), "") << "This failure is expected.";
960 // _exit(2) is called in that case by ForkingDeathTest, but not by
973 EXPECT_DEATH(_exit(1), "");
978 EXPECT_DEATH(_exit(1), "") << "unexpected failure";
979 ASSERT_DEATH(_exit(1), "") << "unexpected failure";
981 EXPECT_DEATH(_exit(0), "") << "expected failure";
984 ASSERT_DEATH(_exit(0), "") << "expected failure";
1205 EXPECT_DEATH_IF_SUPPORTED(_exit(1), "");
1217 EXPECT_DEATH_IF_SUPPORTED(_exit(1), "") << 1 << 2 << 3;
1232 ASSERT_DEATH_IF_SUPPORTED(_exit(1), "")
1237 EXPECT_DEATH_IF_SUPPORTED(_exit(1), "") << "exit in switch case";