Searched refs:sys_ret (Results 1 – 1 of 1) sorted by relevance
/external/ltp/testcases/kernel/syscalls/ppoll/ |
D | ppoll01.c | 212 int sys_ret, sys_errno = 0, dummy; in do_test() local 235 sys_ret = tst_syscall(__NR_ppoll, tc->fds, tc->nfds, tsp, in do_test() 257 if (tc->ret >= 0 && tc->ret == sys_ret) { in do_test() 258 tst_res(TPASS, "ret: %d", sys_ret); in do_test() 259 } else if (tc->ret == -1 && sys_ret == -1 && sys_errno == tc->err) { in do_test() 260 tst_res(TPASS, "ret: %d, errno: %s (%d)", sys_ret, in do_test() 264 " exp_errno: %s (%d)", sys_ret, tc->ret, in do_test()
|