Home
last modified time | relevance | path

Searched refs:test_wrp (Results 1 – 3 of 3) sorted by relevance

/glibc-2.36/posix/
Dtest-errno.c87 #define test_wrp(experr, syscall, ...) \ macro
109 fails |= test_wrp (EBADF, accept, -1, &sa, &sl); in do_test()
110 fails |= test_wrp (EINVAL, access, "/", -1); in do_test()
111 fails |= test_wrp (EBADF, bind, -1, (struct sockaddr *)&sin, sizeof sin); in do_test()
112 fails |= test_wrp (ENOTDIR, chdir, "/bin/sh"); in do_test()
113 fails |= test_wrp (EBADF, close, -1); in do_test()
114 fails |= test_wrp (EBADF, connect, -1, (struct sockaddr *)&sin, sizeof sin); in do_test()
115 fails |= test_wrp (EBADF, dup, -1); in do_test()
116 fails |= test_wrp (EBADF, dup2, -1, -1); in do_test()
117 fails |= test_wrp (EBADF, fchdir, -1); in do_test()
[all …]
/glibc-2.36/sysdeps/unix/sysv/linux/
Dtest-errno-linux.c118 #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()
[all …]
/glibc-2.36/ChangeLog.old/
DChangeLog.1929726 (test_wrp): Call test_wrp_rv with list of error codes.