Searched refs:expected_exit_status (Results 1 – 1 of 1) sorted by relevance
161 static inline void AssertChildExited(int pid, int expected_exit_status,169 if (expected_exit_status >= 0) {171 ASSERT_EQ(expected_exit_status, WEXITSTATUS(status)) << *error_msg;174 ASSERT_EQ(-expected_exit_status, WTERMSIG(status)) << *error_msg;216 void Run(const std::function<void()>& child_fn, int expected_exit_status, in Run() argument245 AssertChildExited(pid, expected_exit_status, &error_msg); in Run()