Home
last modified time | relevance | path

Searched refs:TST_ERR (Results 1 - 25 of 297) sorted by relevance

12345678910>>...12

/third_party/ltp/testcases/kernel/syscalls/request_key/
H A Drequest_key03.c92 if (TST_RET < 0 && TST_ERR != EINVAL && TST_ERR != ENOKEY && in run_child_add()
93 TST_ERR != EDQUOT) { in run_child_add()
118 if (TST_RET < 0 && TST_ERR != ENOKEY && TST_ERR != ENOENT && in run_child_request()
119 TST_ERR != EDQUOT) { in run_child_request()
147 if (TST_RET < 0 && TST_ERR != EINVAL) { in do_test()
148 if (TST_ERR == ENODEV) { in do_test()
H A Drequest_key04.c55 saved_errno = TST_ERR; in do_test()
64 TST_ERR = saved_errno; in do_test()
65 if (TST_ERR == EACCES) { in do_test()
/third_party/ltp/testcases/kernel/syscalls/prctl/
H A Dprctl02.c161 if (tc->exp_errno == TST_ERR) { in verify_prctl()
164 if (tc->option == PR_SET_SECCOMP && TST_ERR == EINVAL) in verify_prctl()
177 if (TST_ERR == EINVAL) in setup()
181 if (TST_ERR == EINVAL) in setup()
185 if (TST_ERR == EINVAL) in setup()
189 if (TST_ERR == EINVAL) in setup()
193 if (TST_ERR == EINVAL) in setup()
/third_party/ltp/testcases/kernel/syscalls/keyctl/
H A Dkeyctl05.c94 if (TST_ERR == EINVAL && is_asymmetric && fips_enabled) { in test_update_nonupdatable()
98 if (TST_ERR == ENODEV) { in test_update_nonupdatable()
103 if (TST_ERR == EBADMSG && is_asymmetric) { in test_update_nonupdatable()
108 if (TST_ERR == ENOENT && is_asymmetric) { in test_update_nonupdatable()
138 if (TST_ERR != EOPNOTSUPP) { in test_update_nonupdatable()
182 if (TST_RET != 0 && TST_ERR != EACCES) { in test_update_setperm_race()
H A Dkeyctl07.c43 if (TST_ERR != ENOKEY && TST_ERR != ENOENT) { in try_to_read_negative_key()
68 if (TST_ERR != ENOKEY) { in try_to_read_negative_key()
H A Dkeyctl01.c33 if (TST_RET == -1 && TST_ERR == ENOKEY) in do_test()
43 if (TST_ERR != ENOKEY) { in do_test()
/third_party/ltp/testcases/kernel/syscalls/fchmodat/
H A Dfchmodat01.c53 TST_ERR, strerror(TST_ERR)); in verify_fchmodat() local
58 TST_ERR, strerror(TST_ERR)); in verify_fchmodat() local
/third_party/ltp/testcases/kernel/syscalls/fcntl/
H A Dfcntl39.c52 TST_ERR, strerror(TST_ERR)); in setup_dnotify()
58 TST_ERR, strerror(TST_ERR)); in setup_dnotify()
H A Dfcntl38.c46 TST_ERR, strerror(TST_ERR)); in setup_dnotify()
51 TST_ERR, strerror(TST_ERR)); in setup_dnotify()
/third_party/ltp/testcases/kernel/syscalls/add_key/
H A Dadd_key02.c58 if (TST_ERR == EFAULT) { in verify_add_key()
64 if (TST_ERR == ENODEV) { in verify_add_key()
75 if (TST_ERR == EBADMSG && !strcmp(tcases[i].type, "asymmetric")) { in verify_add_key()
/third_party/ltp/testcases/kernel/syscalls/membarrier/
H A Dmembarrier01.c316 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()
/third_party/ltp/testcases/kernel/syscalls/quotactl/
H A Dquotactl03.c53 if (TST_ERR == EINVAL) in verify_quota()
57 if (TST_ERR != ENOENT) in verify_quota()
59 tst_strerrno(TST_ERR)); in verify_quota()
H A Dquotactl02.h40 if (TST_ERR == EINVAL || TST_ERR == ENOSYS) in check_support_cmd()
45 if (TST_ERR == EINVAL || TST_ERR == ENOSYS) in check_support_cmd()
/third_party/ltp/testcases/kernel/logging/kmsg/
H A Dkmsg01.c54 errno = TST_ERR; in inject_msg()
85 if (TST_ERR == EAGAIN) in find_msg()
88 else if (TST_ERR == EPIPE) in find_msg()
196 if (TST_RET == -1 && TST_ERR != EPIPE) { in timed_read_kmsg()
197 ret = TST_ERR; in timed_read_kmsg()
236 if (TST_RET == -1 && TST_ERR == EAGAIN) in test_read_nonblock()
356 if (TST_ERR == EPIPE) in test_read_returns_first_message()
422 if (TST_RET == -1 && TST_ERR == EPIPE) in test_messages_overwritten()
443 if (TST_RET == -1 && TST_ERR != EPIPE) in read_msg_seqno()
446 if (TST_ERR in read_msg_seqno()
[all...]
/third_party/ltp/testcases/kernel/syscalls/ptrace/
H A Dptrace07.c130 if (TST_ERR == EIO) in do_test()
133 if (TST_ERR == EINVAL) in do_test()
136 if (TST_ERR == ENODEV) in do_test()
156 } else if (TST_ERR == EINVAL) { in do_test()
/third_party/ltp/testcases/kernel/syscalls/ioperm/
H A Dioperm02.c65 if ((TST_RET == -1) && (TST_ERR == tcases[i].exp_errno)) { in verify_ioperm()
67 "errno: %d", tcases[i].desc, TST_ERR); in verify_ioperm()
72 TST_RET, TST_ERR, tcases[i].exp_errno); in verify_ioperm()
H A Dioperm01.c35 TST_ERR, tst_strerrno(TST_ERR)); in verify_ioperm()
/third_party/ltp/testcases/kernel/syscalls/dup2/
H A Ddup205.c61 if (TST_ERR != EBADF && TST_ERR != EMFILE && TST_ERR != EINVAL) { in run()
/third_party/ltp/testcases/kernel/syscalls/fchmod/
H A Dfchmod06.c47 if (TST_ERR == tcases[i].exp_errno) { in verify_fchmod()
54 TST_ERR, tst_strerrno(TST_ERR)); in verify_fchmod()
/third_party/ltp/include/
H A Dtst_test_macros.h14 TST_ERR = errno; \
21 TST_ERR = errno; \
25 extern int TST_ERR;
34 TST_ERR = errno; \
206 if (TST_ERR == (ERRNO)) { \
/third_party/ltp/testcases/kernel/syscalls/clock_getres/
H A Dclock_getres01.c72 if (TST_ERR == EINVAL) { in do_test()
81 if (TST_ERR != tcase[i].err) { in do_test()
84 tcase[i].name, tst_strerrno(TST_ERR), tst_strerrno(tcase[i].err)); in do_test()
/third_party/ltp/testcases/kernel/syscalls/fsconfig/
H A Dfsconfig01.c39 if (TST_ERR == EOPNOTSUPP) in run()
47 if (TST_ERR == EOPNOTSUPP) in run()
55 if (TST_ERR == EOPNOTSUPP) in run()
/third_party/ltp/testcases/network/lib6/
H A Din6_02.c89 if (TST_ERR != ENXIO) { in sub_if_indextoname_test()
92 if_index, TST_RET, TST_ERR); in sub_if_indextoname_test()
169 TST_ERR, strerror(TST_ERR)); in if_nameindex_test()
/third_party/ltp/testcases/kernel/syscalls/iopl/
H A Diopl01.c37 TST_ERR, tst_strerrno(TST_ERR)); in verify_iopl()
/third_party/ltp/testcases/kernel/syscalls/ioprio/
H A Dioprio_set03.c38 TST_ERR); in run()
54 TST_ERR); in run()

Completed in 7 milliseconds

12345678910>>...12