testcase/kernel: Use P_PID for checking whether specific PID is our child or not
This is a testcase whether specific PID is our child or not.
A idtype should be P_PID for this test.
@@ -297,7 +297,7 @@ static void tc_sched_waitid(void)
/* Check for The TCB corresponding to this PID is not our child. */
- ret_chk = waitid(P_GID, 0, &info, WEXITED);
+ ret_chk = waitid(P_PID, 0, &info, WEXITED);
TC_ASSERT_EQ("waitid", ret_chk, ERROR);
TC_ASSERT_EQ("waitid", errno, ECHILD);
