Lines Matching refs:waitpid
26 * @tc.desc : Test the waitpid function to waitpid for the child process
35 pid_t waitpid_for_pind = waitpid(pid, &status, options);
37 t_error("%s waitpid get pid is %d are not want %d\n", __func__, waitpid_for_pind, pid);
40 t_error("%s waitpid get status is %d are not 0\n", __func__, status);
46 t_error("%s waitpid fork error\n");
52 * @tc.desc : Test the result of the waitpid function when the exit code of the child process is not 0
61 pid_t waitpid_for_pind = waitpid(pid, &status, options);
63 t_error("%s waitpid get pid is %d are not want %d\n", __func__, waitpid_for_pind, pid);
66 t_error("%s waitpid get status is 0\n", __func__);
72 t_error("%s waitpid fork error\n");