Lines Matching refs:status
179 int status; in TEST() local
181 status = system("exit 0"); in TEST()
182 ASSERT_TRUE(WIFEXITED(status)); in TEST()
183 ASSERT_EQ(0, WEXITSTATUS(status)); in TEST()
185 status = system("exit 1"); in TEST()
186 ASSERT_TRUE(WIFEXITED(status)); in TEST()
187 ASSERT_EQ(1, WEXITSTATUS(status)); in TEST()
214 int status; in TEST() local
215 ASSERT_EQ(pid, waitpid(pid, &status, 0)); in TEST()
216 ASSERT_TRUE(WIFEXITED(status)); in TEST()
217 ASSERT_EQ(99, WEXITSTATUS(status)); in TEST()
246 int status; in TEST() local
247 ASSERT_EQ(pid, waitpid(pid, &status, 0)); in TEST()
248 ASSERT_TRUE(WIFEXITED(status)); in TEST()
249 ASSERT_EQ(99, WEXITSTATUS(status)); in TEST()
260 int status; in TEST() local
261 ASSERT_EQ(pid, waitpid(pid, &status, 0)); in TEST()
262 ASSERT_TRUE(WIFEXITED(status)); in TEST()
263 ASSERT_EQ(99, WEXITSTATUS(status)); in TEST()