/external/ltp/testcases/kernel/syscalls/socket/ |
D | socket01.c | 28 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/ |
D | sendto01.c | 64 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/ |
D | socketpair01.c | 30 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/ |
D | send01.c | 63 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/ |
D | sendmsg01.c | 98 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/ |
D | sockioctl01.c | 76 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/ |
D | listen01.c | 72 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/ |
D | socketcall02.c | 96 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/ |
D | getsockname01.c | 74 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/ |
D | delete_module02.c | 43 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/ |
D | fdatasync02.c | 85 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/ |
D | setsockopt01.c | 80 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/ |
D | bind01.c | 31 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/ |
D | getsockopt01.c | 80 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/ |
D | accept01.c | 38 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/ |
D | getpeername01.c | 57 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/ |
D | recv01.c | 78 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/ |
D | connect01.c | 77 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/ |
D | recvfrom01.c | 87 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/ |
D | recvmsg01.c | 104 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()
|