Lines Matching refs:test_wrp

118 #define test_wrp(experr, syscall, ...)				\  macro
156 fails |= test_wrp (EINVAL, epoll_create, -1); in do_test()
157 fails |= test_wrp (EINVAL, epoll_create1, EPOLL_CLOEXEC + 1); in do_test()
158 fails |= test_wrp (EBADF, epoll_ctl, -1, EPOLL_CTL_ADD, 0, &epoll_event); in do_test()
159 fails |= test_wrp (EBADF, epoll_wait, -1, &epoll_event, 1, 1); in do_test()
160 fails |= test_wrp (EBADF, fdatasync, -1); in do_test()
161 fails |= test_wrp (EBADF, flock, -1, LOCK_SH); in do_test()
162 fails |= test_wrp (ESRCH, getpgid, -1); in do_test()
167 fails |= test_wrp (EINVAL, mincore, (void *) -1, 0, vec); in do_test()
174 fails |= test_wrp (EINVAL, nanosleep, &ts, &ts); in do_test()
184 fails |= test_wrp (EINVAL, poll, &pollfd, -1, 0); in do_test()
193 fails |= test_wrp (EINVAL, sched_getparam, -1, &sch_param); in do_test()
194 fails |= test_wrp (EINVAL, sched_getscheduler, -1); in do_test()
195 fails |= test_wrp (EINVAL, sched_get_priority_max, -1); in do_test()
196 fails |= test_wrp (EINVAL, sched_get_priority_min, -1); in do_test()
197 fails |= test_wrp (EINVAL, sched_rr_get_interval, -1, &ts); in do_test()
198 fails |= test_wrp (EINVAL, sched_setparam, -1, &sch_param); in do_test()
199 fails |= test_wrp (EINVAL, sched_setscheduler, -1, 0, &sch_param); in do_test()
200 fails |= test_wrp (EINVAL, select, -1, &rs, &ws, &es, &tv); in do_test()
201 fails |= test_wrp (EBADF, sendfile, -1, -1, &off, 0); in do_test()
202 fails |= test_wrp (EINVAL, sigaltstack, &ss, NULL); in do_test()
203 fails |= test_wrp (ECHILD, wait4, -1, &status, 0, NULL); in do_test()
207 fails |= test_wrp (EINVAL, sigprocmask, invalid_sigprocmask_how (), &sigs, in do_test()