/external/ltp/testcases/kernel/syscalls/setns/ |
D | setns01.c | 50 int exp_errno; member 71 .exp_errno = EBADF, 77 .exp_errno = EINVAL, 85 .exp_errno = EINVAL, 91 .exp_errno = EINVAL, 97 .exp_errno = EPERM, 171 if (ret == -1 && errno == t->exp_errno) in test_setns() 173 t->exp_errno); in test_setns() 176 t->msg, t->exp_errno); in test_setns()
|
/external/ltp/testcases/kernel/syscalls/writev/ |
D | writev01.c | 50 int exp_errno; member 58 .exp_errno = EINVAL 66 .exp_errno = EBADF 74 .exp_errno = EINVAL 96 .exp_errno = EPIPE, 123 ret &= (TST_ERR == tcase->exp_errno); in test_writev() 126 tcase->exp_ret, tst_strerrno(tcase->exp_errno), in test_writev()
|
/external/ltp/testcases/kernel/syscalls/mkdir/ |
D | mkdir03.c | 39 int exp_errno; member 57 TST_RET, tc->exp_errno); in verify_mkdir() 61 if (TST_ERR == tc->exp_errno) { in verify_mkdir() 66 tc->exp_errno, strerror(tc->exp_errno)); in verify_mkdir() 78 if (TC[i].exp_errno == EFAULT) in setup()
|
/external/ltp/testcases/kernel/syscalls/fchownat/ |
D | fchownat01.c | 53 int exp_errno; member 114 TEST_RETURN, test->exp_ret, test->exp_errno); in fchownat_verify() 118 if (TEST_ERRNO == test->exp_errno) { in fchownat_verify() 121 test->exp_ret, strerror(test->exp_errno)); in fchownat_verify() 125 test->exp_errno, strerror(test->exp_errno)); in fchownat_verify()
|
/external/ltp/testcases/kernel/syscalls/tee/ |
D | tee02.c | 38 int exp_errno; member 61 tc->exp_errno); in tee_verify() 65 if (TST_ERR != tc->exp_errno) { in tee_verify() 68 tc->exp_errno, tst_strerrno(tc->exp_errno)); in tee_verify()
|
/external/ltp/testcases/kernel/syscalls/vmsplice/ |
D | vmsplice02.c | 46 int exp_errno; member 77 tc->exp_errno); in vmsplice_verify() 81 if (TST_ERR != tc->exp_errno) { in vmsplice_verify() 84 tc->exp_errno, tst_strerrno(tc->exp_errno)); in vmsplice_verify()
|
/external/ltp/testcases/kernel/syscalls/stat/ |
D | stat03.c | 33 int exp_errno; member 54 if (TST_ERR == tc->exp_errno) { in verify_stat() 59 tc->exp_errno, tst_strerrno(tc->exp_errno)); in verify_stat() 75 if (TC[i].exp_errno == EFAULT) in setup()
|
/external/ltp/testcases/kernel/syscalls/renameat2/ |
D | renameat201.c | 62 int exp_errno; member 148 if (test->exp_errno && TEST_RETURN != -1) { in renameat2_verify() 153 if (test->exp_errno == 0 && TEST_RETURN != 0) { in renameat2_verify() 158 if (test->exp_errno == TEST_ERRNO) { in renameat2_verify() 166 test->exp_errno, tst_strerrno(test->exp_errno)); in renameat2_verify()
|
/external/ltp/testcases/kernel/syscalls/utimes/ |
D | utimes01.c | 46 int exp_errno; member 72 if (tc->exp_errno == 0) { in utimes_verify() 83 if (TST_ERR == tc->exp_errno) { in utimes_verify() 88 tc->exp_errno, tst_strerrno(tc->exp_errno)); in utimes_verify()
|
/external/ltp/testcases/kernel/syscalls/splice/ |
D | splice03.c | 54 int exp_errno; member 88 TST_RET, tst_strerrno(tc->exp_errno)); in splice_verify() 92 if (TST_ERR != tc->exp_errno) { in splice_verify() 95 tc->exp_errno, tst_strerrno(tc->exp_errno)); in splice_verify()
|
/external/ltp/testcases/kernel/syscalls/lchown/ |
D | lchown03.c | 54 int exp_errno; member 125 TEST_RETURN, test->exp_errno); in lchown_verify() 129 if (TEST_ERRNO == test->exp_errno) { in lchown_verify() 134 test->exp_errno, in lchown_verify() 135 strerror(test->exp_errno)); in lchown_verify()
|
/external/ltp/testcases/kernel/syscalls/readlink/ |
D | readlink03.c | 53 int exp_errno; member 75 if (TST_ERR != tc->exp_errno) { in verify_readlink() 78 tc->exp_errno, tst_strerrno(tc->exp_errno)); in verify_readlink() 80 if (tc->exp_errno == ENOENT && TST_ERR == EINVAL) { in verify_readlink()
|
/external/ltp/testcases/kernel/syscalls/setdomainname/ |
D | setdomainname02.c | 10 #define ERRNO_DESC(x) .exp_errno = x, .errno_desc = #x 18 int exp_errno; member 38 if (TST_ERR != tcase->exp_errno) { in verify_setdomainname() 40 TST_ERR, tcase->exp_errno); in verify_setdomainname()
|
/external/ltp/testcases/kernel/syscalls/membarrier/ |
D | membarrier01.c | 34 int exp_errno; /* expected errno for given cmd failure */ member 53 .exp_errno = EINVAL, 66 .exp_errno = EINVAL, 94 .exp_errno = EPERM, 141 .exp_errno = EPERM, 223 _test.testname, _test.exp_ret, _test.exp_errno, \ 248 _test.exp_errno, _test.force); \ 350 if (tc[i].exp_errno == TST_ERR) in verify_membarrier()
|
/external/ltp/testcases/kernel/syscalls/sched_setaffinity/ |
D | sched_setaffinity01.c | 40 int exp_errno; member 59 if (tc->exp_errno == EPERM) { in verify_test() 78 if (TST_ERR != tc->exp_errno) { in verify_test() 81 tst_strerrno(tc->exp_errno)); in verify_test() 86 if (tc->exp_errno == EPERM) in verify_test()
|
/external/ltp/testcases/kernel/syscalls/ioperm/ |
D | ioperm02.c | 104 int exp_errno; /* expected error number */ member 138 (TEST_ERRNO == test_cases[i].exp_errno)) { in main() 148 TEST_ERRNO, test_cases[i].exp_errno); in main() 208 test_cases[0].exp_errno = EINVAL; in setup() 212 test_cases[1].exp_errno = EPERM; in setup()
|
/external/ltp/testcases/kernel/syscalls/io_submit/ |
D | io_submit01.c | 48 int exp_errno; member 110 if (ret == t->exp_errno) { in verify_io_submit() 112 t->desc, errno_name(t->exp_errno)); in verify_io_submit() 118 errno_name(t->exp_errno), t->exp_errno); in verify_io_submit()
|
/external/ltp/testcases/kernel/syscalls/timerfd/ |
D | timerfd_create01.c | 37 int exp_errno; member 86 if (TEST_ERRNO == test->exp_errno) { in timerfd_create_verify() 92 "%d - %s", test->exp_errno, strerror(test->exp_errno)); in timerfd_create_verify()
|
/external/ltp/testcases/kernel/syscalls/mq_notify/ |
D | mq_notify02.c | 35 int exp_errno; member 78 if (TEST_ERRNO == test->exp_errno) { in mq_notify_verify() 83 test->exp_errno, strerror(test->exp_errno)); in mq_notify_verify()
|
/external/ltp/testcases/kernel/syscalls/renameat/ |
D | renameat01.c | 93 int exp_errno; member 199 if (tc->exp_errno == EMLINK && max_subdirs == 0) { in renameat_verify() 207 if (tc->exp_errno && TEST_RETURN != -1) { in renameat_verify() 212 if (tc->exp_errno == 0 && TEST_RETURN != 0) { in renameat_verify() 217 if (TEST_ERRNO == tc->exp_errno) { in renameat_verify() 223 "%d - %s", tc->exp_errno, in renameat_verify() 224 strerror(tc->exp_errno)); in renameat_verify()
|
/external/ltp/testcases/kernel/syscalls/mkdirat/ |
D | mkdirat02.c | 28 int exp_errno; member 65 if (TST_ERR == test->exp_errno) { in mkdirat_verify() 72 test->exp_errno, tst_strerrno(test->exp_errno)); in mkdirat_verify()
|
/external/ltp/testcases/kernel/syscalls/link/ |
D | link08.c | 38 int exp_errno; member 58 if (TST_ERR == tc->exp_errno) { in link_verify() 65 tc->exp_errno, tst_strerrno(tc->exp_errno)); in link_verify()
|
/external/ltp/testcases/kernel/syscalls/dup3/ |
D | dup3_02.c | 53 int exp_errno; member 84 if (TEST_ERRNO == test_cases[i].exp_errno) { in main() 90 "%d - %s", test_cases[i].exp_errno, in main() 91 strerror(test_cases[i].exp_errno)); in main()
|
/external/ltp/testcases/kernel/syscalls/sched_getattr/ |
D | sched_getattr02.c | 52 int exp_errno; member 75 if (TEST_ERRNO == test->exp_errno) { in sched_getattr_verify() 83 test->exp_errno, tst_strerrno(test->exp_errno)); in sched_getattr_verify()
|
/external/ltp/testcases/kernel/syscalls/sigaltstack/ |
D | sigaltstack02.c | 96 int exp_errno; member 135 Test_cases[ind].exp_errno) { in main() 145 [ind].exp_errno); in main() 150 Test_cases[ind].exp_errno); in main()
|