Searched defs:expected_exit_status (Results 1 - 1 of 1) sorted by relevance

/bionic/tests/
H A Dutils.h130 static inline void AssertChildExited(int pid, int expected_exit_status) { argument
133 if (expected_exit_status >= 0) {
135 ASSERT_EQ(expected_exit_status, WEXITSTATUS(status));
138 ASSERT_EQ(-expected_exit_status, WTERMSIG(status));
168 void Run(const std::function<void()>& child_fn, int expected_exit_status, argument
196 AssertChildExited(pid, expected_exit_status);

Completed in 14 milliseconds