Searched refs:child_ret (Results 1 - 7 of 7) sorted by relevance

/linux-master/tools/testing/selftests/powerpc/math/
H A Dvmx_syscall.c30 int child_ret; local
38 waitpid(fork_pid, &child_ret, 0);
39 if (ret || child_ret)
54 int child_ret; local
67 * Couldn't fork, ensure child_ret is set and is a fail
69 ret = child_ret = 1;
72 waitpid(pid2, &child_ret, 0);
77 ret |= child_ret;
80 waitpid(pid, &child_ret, 0);
84 FAIL_IF(ret || child_ret);
[all...]
H A Dfpu_syscall.c28 int child_ret; local
39 waitpid(fork_pid, &child_ret, 0);
40 if (ret || child_ret)
55 int child_ret; local
64 child_ret = ret = 1;
68 waitpid(pid2, &child_ret, 0);
73 ret |= child_ret;
76 waitpid(pid, &child_ret, 0);
80 FAIL_IF(ret || child_ret);
/linux-master/tools/testing/selftests/powerpc/signal/
H A Dsigreturn_kernel.c48 int child_ret; local
50 waitpid(pid, &child_ret, 0);
51 FAIL_IF(WIFEXITED(child_ret));
52 FAIL_IF(!WIFSIGNALED(child_ret));
53 FAIL_IF(WTERMSIG(child_ret) != 11);
61 int child_ret, i; local
121 waitpid(pid, &child_ret, 0);
122 FAIL_IF(!WIFEXITED(child_ret));
123 FAIL_IF(WIFSIGNALED(child_ret));
124 FAIL_IF(WEXITSTATUS(child_ret) !
[all...]
/linux-master/tools/testing/selftests/futex/functional/
H A Dfutex_requeue_pi_mismatched_ops.c33 int child_ret = 0; variable
46 child_ret = futex_wait(&f1, f1, NULL, FUTEX_PRIVATE_FLAG);
47 if (child_ret < 0) {
48 child_ret = -errno;
51 return (void *)&child_ret;
129 ret = child_ret;
H A Dfutex_wait_uninitialized_heap.c39 static int child_ret; variable
55 child_ret = RET_PASS;
61 child_ret = RET_ERROR;
114 ret = child_ret;
/linux-master/tools/testing/selftests/pidfd/
H A Dpidfd_test.c247 int child_ret = PIDFD_PASS; local
286 child_ret = PIDFD_XFAIL;
288 child_ret = PIDFD_FAIL;
299 switch (child_ret) {
303 _exit(child_ret);
/linux-master/tools/testing/selftests/x86/
H A Dlam.c654 int ret, child_ret; local
665 wait(&child_ret);
666 ret = WEXITSTATUS(child_ret);
674 int ret, child_ret; local
699 wait(&child_ret);
700 ret = WEXITSTATUS(child_ret);
710 int ret, child_ret; local
728 wait(&child_ret);
729 ret = WEXITSTATUS(child_ret);
753 int ret, child_ret; local
788 int ret, child_ret; local
[all...]

Completed in 113 milliseconds