Lines Matching refs:signo
43 void InstallHandlerAndRaise(int signo) { in InstallHandlerAndRaise() argument
45 raise(signo); in InstallHandlerAndRaise()
49 const int signo = GetParam(); in TEST_P() local
51 "\\*\\*\\* ", absl::debugging_internal::FailureSignalToString(signo), in TEST_P()
54 EXPECT_EXIT(InstallHandlerAndRaise(signo), testing::KilledBySignal(signo), in TEST_P()
58 EXPECT_DEATH(InstallHandlerAndRaise(signo), exit_regex); in TEST_P()
88 void InstallHandlerWithWriteToFileAndRaise(const char* file, int signo) { in InstallHandlerWithWriteToFileAndRaise() argument
94 raise(signo); in InstallHandlerWithWriteToFileAndRaise()
98 const int signo = GetParam(); in TEST_P() local
100 std::string file = absl::StrCat(tmp_dir, "/signo_", signo); in TEST_P()
103 "\\*\\*\\* ", absl::debugging_internal::FailureSignalToString(signo), in TEST_P()
106 EXPECT_EXIT(InstallHandlerWithWriteToFileAndRaise(file.c_str(), signo), in TEST_P()
107 testing::KilledBySignal(signo), exit_regex); in TEST_P()
110 EXPECT_DEATH(InstallHandlerWithWriteToFileAndRaise(file.c_str(), signo), in TEST_P()
122 "*** ", absl::debugging_internal::FailureSignalToString(signo), in TEST_P()