/external/ltp/testcases/kernel/syscalls/request_key/ |
D | request_key03.c | 74 if (TST_RET < 0 && TST_ERR != EINVAL) { in test_with_key_type() 75 if (TST_ERR == ENODEV) { in test_with_key_type() 111 if (TST_RET < 0 && TST_ERR != EINVAL && in test_with_key_type() 112 TST_ERR != ENOKEY && TST_ERR != EDQUOT) { in test_with_key_type() 131 if (TST_RET < 0 && TST_ERR != ENOKEY && in test_with_key_type() 132 TST_ERR != ENOENT && TST_ERR != EDQUOT) { in test_with_key_type()
|
D | request_key04.c | 67 saved_errno = TST_ERR; in do_test() 76 TST_ERR = saved_errno; in do_test() 77 if (TST_ERR == EACCES) { in do_test()
|
/external/ltp/testcases/kernel/syscalls/open/ |
D | open08.c | 94 if (TST_ERR == tcases[i].error) { in verify_open() 96 "errno = %d : %s", TST_ERR, in verify_open() 97 strerror(TST_ERR)); in verify_open() 100 "expected %d", TST_ERR, in verify_open() 101 strerror(TST_ERR), tcases[i].error); in verify_open()
|
/external/ltp/testcases/kernel/syscalls/keyctl/ |
D | keyctl05.c | 102 if (TST_ERR == ENODEV) { in test_update_nonupdatable() 107 if (TST_ERR == EBADMSG && !strcmp(type, "asymmetric")) { in test_update_nonupdatable() 112 if (TST_ERR == ENOENT && !strcmp(type, "asymmetric")) { in test_update_nonupdatable() 142 if (TST_ERR != EOPNOTSUPP) { in test_update_nonupdatable() 186 if (TST_RET != 0 && TST_ERR != EACCES) { in test_update_setperm_race()
|
D | keyctl07.c | 55 if (TST_ERR != ENOKEY && TST_ERR != ENOENT) { in try_to_read_negative_key() 80 if (TST_ERR != ENOKEY) { in try_to_read_negative_key()
|
D | keyctl01.c | 45 if (TST_RET == -1 && TST_ERR == ENOKEY) in do_test() 55 if (TST_ERR != ENOKEY) { in do_test()
|
/external/ltp/testcases/kernel/logging/kmsg/ |
D | kmsg01.c | 73 errno = TST_ERR; in inject_msg() 104 if (TST_ERR == EAGAIN) in find_msg() 107 else if (TST_ERR == EPIPE) in find_msg() 215 if (TST_RET == -1 && TST_ERR != EPIPE) { in timed_read_kmsg() 216 ret = TST_ERR; in timed_read_kmsg() 255 if (TST_RET == -1 && TST_ERR == EAGAIN) in test_read_nonblock() 375 if (TST_ERR == EPIPE) in test_read_returns_first_message() 441 if (TST_RET == -1 && TST_ERR == EPIPE) in test_messages_overwritten() 462 if (TST_RET == -1 && TST_ERR != EPIPE) in read_msg_seqno() 465 if (TST_ERR == EPIPE) in read_msg_seqno()
|
/external/ltp/testcases/kernel/syscalls/ptrace/ |
D | ptrace07.c | 122 if (TST_ERR == EIO) in do_test() 125 if (TST_ERR == EINVAL) in do_test() 128 if (TST_ERR == ENODEV) in do_test() 148 } else if (TST_ERR == EINVAL) { in do_test()
|
/external/ltp/testcases/kernel/syscalls/membarrier/ |
D | membarrier01.c | 316 failed_not_ok(tc[i], TST_RET, TST_ERR); in verify_membarrier() 328 if (tc[i].force_exp_errno == TST_ERR) in verify_membarrier() 331 failed_unexpec(tc[i], TST_RET, TST_ERR); in verify_membarrier() 350 if (tc[i].exp_errno == TST_ERR) in verify_membarrier() 353 failed_unexpec(tc[i], TST_RET, TST_ERR); in verify_membarrier() 357 failed_unexpec(tc[i], TST_RET, TST_ERR); in verify_membarrier()
|
/external/ltp/testcases/kernel/syscalls/quotactl/ |
D | quotactl03.c | 75 if (TST_ERR == EINVAL) { in verify_quota() 80 if (TST_ERR != ENOENT) { in verify_quota() 82 " %s expected ENOENT", tst_strerrno(TST_ERR)); in verify_quota()
|
/external/ltp/testcases/kernel/syscalls/add_key/ |
D | add_key02.c | 73 if (TST_ERR == EFAULT) { in verify_add_key() 79 if (TST_ERR == ENODEV) { in verify_add_key() 90 if (TST_ERR == EBADMSG && !strcmp(tcases[i].type, "asymmetric")) { in verify_add_key()
|
/external/ltp/testcases/kernel/syscalls/clock_getres/ |
D | clock_getres01.c | 63 if (TST_ERR == EINVAL) { in do_test() 72 if (TST_ERR != tcase[i].err) { in do_test() 75 tcase[i].name, tst_strerrno(TST_ERR), tst_strerrno(tcase[i].err)); in do_test()
|
/external/ltp/testcases/kernel/syscalls/fchmod/ |
D | fchmod06.c | 60 if (TST_ERR == tcases[i].exp_errno) { in verify_fchmod() 67 TST_ERR, tst_strerrno(TST_ERR)); in verify_fchmod()
|
/external/ltp/testcases/network/lib6/ |
D | in6_02.c | 99 if (TST_ERR != ENXIO) { in sub_if_indextoname_test() 102 if_index, TST_RET, TST_ERR); in sub_if_indextoname_test() 179 TST_ERR, strerror(TST_ERR)); in if_nameindex_test()
|
/external/ltp/include/ |
D | tst_test.h | 209 TST_ERR = errno; \ 213 extern int TST_ERR; 221 TST_ERR = errno; \
|
/external/ltp/testcases/kernel/syscalls/splice/ |
D | splice02.c | 45 TST_ERR, strerror(TST_ERR)); in splice_test()
|
/external/ltp/testcases/kernel/syscalls/nice/ |
D | nice02.c | 46 if (TST_ERR) { in verify_nice() 62 if (TST_ERR) in verify_nice()
|
D | nice01.c | 48 if (TST_ERR) { in verify_nice() 64 if (TST_ERR) in verify_nice()
|
/external/ltp/testcases/kernel/syscalls/vhangup/ |
D | vhangup01.c | 35 else if (TST_ERR == EPERM) in run() 38 tst_res(TFAIL, "expected EPERM got %d", TST_ERR); in run()
|
/external/ltp/testcases/kernel/syscalls/getcwd/ |
D | getcwd01.c | 62 TST_ERR = errno; in verify_getcwd() 68 if (TST_ERR != tc->exp_err) { in verify_getcwd()
|
/external/ltp/testcases/kernel/syscalls/fremovexattr/ |
D | fremovexattr01.c | 60 if (TST_RET < 0 && TST_ERR != ENOATTR) { in verify_fremovexattr() 81 if (TST_RET == -1 && TST_ERR == EOPNOTSUPP) in setup()
|
/external/ltp/testcases/kernel/syscalls/rmdir/ |
D | rmdir03.c | 65 if (TST_ERR != EACCES) { in do_rmdir() 66 if (tc->dir_mode & S_ISVTX && TST_ERR == EPERM) in do_rmdir()
|
/external/ltp/testcases/kernel/syscalls/ipc/shmctl/ |
D | shmctl05.c | 84 if (TST_ERR != EIDRM && TST_ERR != EINVAL) { in do_test()
|
/external/ltp/testcases/kernel/syscalls/flock/ |
D | flock03.c | 36 "parent: %s", tst_strerrno(TST_ERR)); in childfunc() 45 "unlocking: %s", tst_strerrno(TST_ERR)); in childfunc()
|
/external/ltp/testcases/kernel/syscalls/futex/ |
D | futex_wait_bitset.h | 32 if (TST_ERR == ENOSYS) { in verify_futex_wait_bitset() 38 if (TST_ERR != ETIMEDOUT) { in verify_futex_wait_bitset()
|