Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/syscalls/socket/
Dsocket01.c28 int experrno; member
60 if (TST_ERR != tc->experrno) { in verify_socket()
62 tst_strerrno(tc->experrno), tc->experrno); in verify_socket()
83 if (tdat[i].experrno == EPROTONOSUPPORT) in setup()
84 tdat[i].experrno = ESOCKTNOSUPPORT; in setup()
/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/socketpair/
Dsocketpair01.c30 int experrno; member
64 if (TST_ERR != tc->experrno) { in verify_socketpair()
66 tst_strerrno(tc->experrno), tc->experrno); in verify_socketpair()
87 if (tdat[i].experrno == EPROTONOSUPPORT) in setup()
88 tdat[i].experrno = ESOCKTNOSUPPORT; in setup()
/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/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/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/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/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/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/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/bind/
Dbind01.c31 int experrno; member
51 if (TST_RET != tcase->retval && TST_ERR != tcase->experrno) { in verify_bind()
55 TST_ERR, tcase->experrno); in verify_bind()
/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/accept/
Daccept01.c38 int experrno; /* expected errno */ member
106 if (TST_ERR != tcase->experrno) { in verify_accept()
108 tcase->desc, tst_strerrno(tcase->experrno)); in verify_accept()
/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/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/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()