Lines Matching refs:ASSERT_EQ

80 	ASSERT_EQ(WIFEXITED(info.si_status), true);  in TEST()
81 ASSERT_EQ(WEXITSTATUS(info.si_status), 0); in TEST()
84 ASSERT_EQ(info.si_signo, SIGCHLD); in TEST()
85 ASSERT_EQ(info.si_code, CLD_EXITED); in TEST()
86 ASSERT_EQ(info.si_pid, parent_tid); in TEST()
114 ASSERT_EQ(sys_waitid(P_PIDFD, pidfd, &info, WSTOPPED, NULL), 0); in TEST()
115 ASSERT_EQ(info.si_signo, SIGCHLD); in TEST()
116 ASSERT_EQ(info.si_code, CLD_STOPPED); in TEST()
117 ASSERT_EQ(info.si_pid, parent_tid); in TEST()
119 ASSERT_EQ(sys_pidfd_send_signal(pidfd, SIGCONT, NULL, 0), 0); in TEST()
121 ASSERT_EQ(sys_waitid(P_PIDFD, pidfd, &info, WCONTINUED, NULL), 0); in TEST()
122 ASSERT_EQ(info.si_signo, SIGCHLD); in TEST()
123 ASSERT_EQ(info.si_code, CLD_CONTINUED); in TEST()
124 ASSERT_EQ(info.si_pid, parent_tid); in TEST()
126 ASSERT_EQ(sys_waitid(P_PIDFD, pidfd, &info, WUNTRACED, NULL), 0); in TEST()
127 ASSERT_EQ(info.si_signo, SIGCHLD); in TEST()
128 ASSERT_EQ(info.si_code, CLD_STOPPED); in TEST()
129 ASSERT_EQ(info.si_pid, parent_tid); in TEST()
131 ASSERT_EQ(sys_pidfd_send_signal(pidfd, SIGKILL, NULL, 0), 0); in TEST()
133 ASSERT_EQ(sys_waitid(P_PIDFD, pidfd, &info, WEXITED, NULL), 0); in TEST()
134 ASSERT_EQ(info.si_signo, SIGCHLD); in TEST()
135 ASSERT_EQ(info.si_code, CLD_KILLED); in TEST()
136 ASSERT_EQ(info.si_pid, parent_tid); in TEST()
164 ASSERT_EQ(errno, EINVAL); in TEST()
170 ASSERT_EQ(errno, ECHILD); in TEST()
184 ASSERT_EQ(errno, EINVAL); in TEST()
198 ASSERT_EQ(errno, EAGAIN); in TEST()
206 ASSERT_EQ(ret, 0); in TEST()
208 ASSERT_EQ(fcntl(pidfd, F_SETFL, (flags & ~O_NONBLOCK)), 0); in TEST()
210 ASSERT_EQ(sys_waitid(P_PIDFD, pidfd, &info, WSTOPPED, NULL), 0); in TEST()
211 ASSERT_EQ(info.si_signo, SIGCHLD); in TEST()
212 ASSERT_EQ(info.si_code, CLD_STOPPED); in TEST()
213 ASSERT_EQ(info.si_pid, parent_tid); in TEST()
215 ASSERT_EQ(sys_pidfd_send_signal(pidfd, SIGCONT, NULL, 0), 0); in TEST()
217 ASSERT_EQ(sys_waitid(P_PIDFD, pidfd, &info, WEXITED, NULL), 0); in TEST()
218 ASSERT_EQ(info.si_signo, SIGCHLD); in TEST()
219 ASSERT_EQ(info.si_code, CLD_EXITED); in TEST()
220 ASSERT_EQ(info.si_pid, parent_tid); in TEST()