Home
last modified time | relevance | path

Searched refs:experrno (Results 1 – 20 of 20) sorted by relevance

/external/ltp/testcases/kernel/syscalls/sendto/
Dsendto01.c64 int experrno; member
90 .experrno = EBADF,
104 .experrno = ENOTSOCK,
120 .experrno = EFAULT,
135 .experrno = EFAULT,
149 .experrno = EPIPE,
163 .experrno = EINVAL,
179 .experrno = EFAULT,
194 .experrno = EMSGSIZE,
208 .experrno = EPIPE,
[all …]
/external/ltp/testcases/kernel/syscalls/socket/
Dsocket01.c40 int experrno; member
72 if (TST_ERR != tc->experrno) { in verify_socket()
74 tst_strerrno(tc->experrno), tc->experrno); in verify_socket()
95 if (tdat[i].experrno == EPROTONOSUPPORT) in setup()
96 tdat[i].experrno = ESOCKTNOSUPPORT; in setup()
/external/ltp/testcases/kernel/syscalls/socketpair/
Dsocketpair01.c42 int experrno; member
76 if (TST_ERR != tc->experrno) { in verify_socketpair()
78 tst_strerrno(tc->experrno), tc->experrno); in verify_socketpair()
99 if (tdat[i].experrno == EPROTONOSUPPORT) in setup()
100 tdat[i].experrno = ESOCKTNOSUPPORT; in setup()
/external/ltp/testcases/kernel/syscalls/sendmsg/
Dsendmsg01.c98 int experrno; /* expected errno */ member
117 .experrno = EBADF,
134 .experrno = ENOTSOCK,
151 .experrno = EFAULT,
168 .experrno = EFAULT,
185 .experrno = EPIPE,
202 .experrno = EINVAL,
218 .experrno = EFAULT,
234 .experrno = EMSGSIZE,
251 .experrno = EPIPE,
[all …]
/external/ltp/testcases/kernel/syscalls/send/
Dsend01.c63 int experrno; member
86 .experrno = EBADF,
98 .experrno = ENOTSOCK,
112 .experrno = EFAULT,
125 .experrno = EMSGSIZE,
137 .experrno = EPIPE,
151 .experrno = EOPNOTSUPP,
278 if (TEST_ERRNO != tdat[testno].experrno) { in main()
283 TEST_ERRNO, tdat[testno].experrno); in main()
315 if (tdat[testno].experrno == EBADF) in setup0()
/external/ltp/testcases/kernel/syscalls/sockioctl/
Dsockioctl01.c76 int experrno; /* expected errno */ member
137 TEST_ERRNO != tdat[testno].experrno)) { in main()
142 TEST_ERRNO, tdat[testno].experrno); in main()
173 if (tdat[testno].experrno == EBADF) { in setup0()
194 tdat[testno].experrno = ENOTTY; in setup0()
200 if (tdat[testno].experrno != EBADF) { in cleanup0()
215 tdat[testno].experrno = ENOTTY; in setup1()
/external/ltp/testcases/kernel/syscalls/listen/
Dlisten01.c72 int experrno; /* expected errno */ member
101 TEST_ERRNO != tdat[testno].experrno)) { in main()
106 TEST_ERRNO, tdat[testno].experrno); in main()
130 if (tdat[testno].experrno == EBADF) in setup0()
/external/ltp/testcases/kernel/syscalls/getsockname/
Dgetsockname01.c74 int experrno; /* expected errno */ member
122 TEST_ERRNO != tdat[testno].experrno)) { in main()
127 TEST_ERRNO, tdat[testno].experrno); in main()
156 if (tdat[testno].experrno == EBADF) in setup0()
/external/ltp/testcases/kernel/syscalls/socketcall/
Dsocketcall02.c96 int experrno; member
119 && (TEST_ERRNO == TC.experrno)) { in main()
126 TC.experrno, TEST_ERRNO, strerror(TEST_ERRNO)); in main()
/external/ltp/testcases/kernel/syscalls/delete_module/
Ddelete_module02.c43 int experrno; member
69 } else if (TST_ERR == tc->experrno) { in do_delete_module()
73 " expected: %s", tst_strerrno(tc->experrno)); in do_delete_module()
/external/ltp/testcases/kernel/syscalls/accept/
Daccept01.c63 int experrno; /* expected errno */ member
112 TEST_ERRNO != tdat[testno].experrno)) { in main()
117 TEST_ERRNO, tdat[testno].experrno); in main()
146 if (tdat[testno].experrno == EBADF) in setup0()
/external/ltp/testcases/kernel/syscalls/fdatasync/
Dfdatasync02.c85 int experrno; /* expected errno */ member
130 (TEST_ERRNO == tdat[testno].experrno)) { in main()
139 TEST_ERRNO, tdat[testno].experrno); in main()
/external/ltp/testcases/kernel/syscalls/setsockopt/
Dsetsockopt01.c80 int experrno; /* expected errno */ member
154 TEST_ERRNO != tdat[testno].experrno)) { in main()
159 TEST_ERRNO, tdat[testno].experrno); in main()
190 if (tdat[testno].experrno == EBADF) in setup0()
/external/ltp/testcases/kernel/syscalls/getsockopt/
Dgetsockopt01.c80 int experrno; /* expected errno */ member
149 TEST_ERRNO != tdat[testno].experrno)) { in main()
154 TEST_ERRNO, tdat[testno].experrno); in main()
183 if (tdat[testno].experrno == EBADF) in setup0()
/external/ltp/testcases/kernel/syscalls/bind/
Dbind01.c74 int experrno; /* expected errno */ member
129 TEST_ERRNO != tdat[testno].experrno)) { in main()
134 TEST_ERRNO, tdat[testno].experrno); in main()
/external/ltp/testcases/kernel/syscalls/recv/
Drecv01.c78 int experrno; /* expected errno */ member
142 TEST_ERRNO != tdat[testno].experrno)) { in main()
147 TEST_ERRNO, tdat[testno].experrno); in main()
179 if (tdat[testno].experrno == EBADF) in setup0()
/external/ltp/testcases/kernel/syscalls/connect/
Dconnect01.c77 int experrno; /* expected errno */ member
159 TEST_ERRNO != tdat[testno].experrno)) { in main()
164 TEST_ERRNO, tdat[testno].experrno); in main()
209 if (tdat[testno].experrno == EBADF) in setup0()
/external/ltp/testcases/kernel/syscalls/getpeername/
Dgetpeername01.c57 int experrno; member
106 TEST_ERRNO == test_cases[i].experrno) { in main()
116 TEST_ERRNO, test_cases[i].experrno); in main()
/external/ltp/testcases/kernel/syscalls/recvfrom/
Drecvfrom01.c87 int experrno; /* expected errno */ member
165 TEST_ERRNO != tdat[testno].experrno)) { in main()
170 TEST_ERRNO, tdat[testno].experrno); in main()
200 if (tdat[testno].experrno == EBADF) in setup0()
/external/ltp/testcases/kernel/syscalls/recvmsg/
Drecvmsg01.c104 int experrno; /* expected errno */ member
230 TEST_ERRNO != tdat[testno].experrno)) { in main()
235 TEST_ERRNO, tdat[testno].experrno); in main()
281 if (tdat[testno].experrno == EBADF) in setup0()