/third_party/ltp/testcases/kernel/syscalls/clock_settime/ |
D | clock_settime02.c | 23 int exp_err; member 32 .exp_err = EFAULT, 39 .exp_err = EINVAL, 46 .exp_err = EINVAL, 53 .exp_err = EINVAL, 60 .exp_err = EINVAL, 64 .exp_err = EINVAL, 68 .exp_err = EINVAL, 73 .exp_err = EINVAL, 77 .exp_err = EINVAL, [all …]
|
/third_party/ltp/testcases/kernel/syscalls/clock_gettime/ |
D | clock_gettime02.c | 30 int exp_err; member 37 .exp_err = EINVAL, 41 .exp_err = EINVAL, 49 .exp_err = EFAULT, 53 .exp_err = EFAULT, 57 .exp_err = EFAULT, 61 .exp_err = EFAULT, 65 .exp_err = EFAULT, 70 .exp_err = EFAULT, 75 .exp_err = EFAULT, [all …]
|
/third_party/ltp/testcases/kernel/syscalls/setxattr/ |
D | setxattr01.c | 66 int exp_err; member 75 .exp_err = EINVAL, 82 .exp_err = ENODATA, 89 .exp_err = ERANGE, 96 .exp_err = E2BIG, 103 .exp_err = 0, 110 .exp_err = EEXIST, 118 .exp_err = 0, 126 .exp_err = ERANGE, 132 .exp_err = EFAULT, [all …]
|
D | setxattr02.c | 63 int exp_err; member 73 .exp_err = 0, 81 .exp_err = 0, 89 .exp_err = EEXIST, 98 .exp_err = EPERM, 106 .exp_err = EPERM, 114 .exp_err = EPERM, 122 .exp_err = EPERM, 142 if (!tc[i].exp_err) { in verify_setxattr() 166 if (tc[i].exp_err != TST_ERR) { in verify_setxattr() [all …]
|
D | setxattr03.c | 56 int exp_err; member 66 .exp_err = EPERM, 75 .exp_err = EPERM, 92 if (TST_ERR != tc[i].exp_err) { in verify_setxattr() 94 tst_strerrno(tc[i].exp_err)); in verify_setxattr()
|
/third_party/ltp/testcases/kernel/syscalls/fsetxattr/ |
D | fsetxattr01.c | 68 int exp_err; member 78 .exp_err = EINVAL, 85 .exp_err = ENODATA, 92 .exp_err = ERANGE, 99 .exp_err = E2BIG, 106 .exp_err = 0, 113 .exp_err = EEXIST, 121 .exp_err = 0, 129 .exp_err = ERANGE, 135 .exp_err = EFAULT, [all …]
|
D | fsetxattr02.c | 69 int exp_err; member 81 .exp_err = 0, 90 .exp_err = 0, 99 .exp_err = EEXIST, 109 .exp_err = EPERM, 118 .exp_err = EPERM, 127 .exp_err = EPERM, 136 .exp_err = EPERM, 159 if (!tc[i].exp_err) { in verify_fsetxattr() 181 if (tc[i].exp_err != TST_ERR) { in verify_fsetxattr() [all …]
|
/third_party/ltp/testcases/kernel/syscalls/adjtimex/ |
D | adjtimex02.c | 54 int exp_err; member 56 {.modes = SET_MODE, .exp_err = EPERM}, 57 {.modes = SET_MODE, .exp_err = EFAULT}, 58 {.modes = ADJ_TICK, .lowlimit = 900000, .delta = 1, .exp_err = EINVAL}, 59 {.modes = ADJ_TICK, .highlimit = 1100000, .delta = 1, .exp_err = EINVAL}, 60 {.modes = ADJ_OFFSET, .highlimit = 512000L, .delta = 1, .exp_err = EINVAL}, 61 {.modes = ADJ_OFFSET, .lowlimit = -512000L, .delta = -1, .exp_err = EINVAL}, 85 if (tc[i].exp_err == EPERM) in verify_adjtimex() 88 if (tc[i].exp_err == EINVAL) { in verify_adjtimex() 104 if (tc[i].exp_err == EFAULT) { in verify_adjtimex() [all …]
|
/third_party/ltp/testcases/kernel/syscalls/clock_nanosleep/ |
D | clock_nanosleep01.c | 48 int exp_err; member 59 .exp_err = EINVAL, 68 .exp_err = EINVAL, 77 .exp_err = ENOTSUP, 86 .exp_err = EINTR, 93 .exp_err = EFAULT, 102 .exp_err = EFAULT, 182 tc->exp_err = EINVAL; in do_test() 211 if ((TST_RET != tc->exp_ret) || (TST_ERR != tc->exp_err)) { in do_test() 214 tc->exp_ret, tst_strerrno(tc->exp_err), tc->exp_err); in do_test()
|
/third_party/ltp/testcases/kernel/syscalls/fremovexattr/ |
D | fremovexattr02.c | 45 int exp_err; member 51 .exp_err = ENODATA, 56 .exp_err = EBADF, 59 .exp_err = EFAULT, 71 if (tc[i].exp_err == TST_ERR) { in verify_fremovexattr() 77 tst_strerrno(tc[i].exp_err)); in verify_fremovexattr() 102 if (!tc[i].key && tc[i].exp_err == EFAULT) in setup()
|
/third_party/libxml2/python/tests/ |
D | input_callback.py | 47 def run_test(desc, docpath, catalog, exp_status="verified", exp_err=[], test_callback=None, argument 78 elif actual_err != exp_err: 81 for s,m in exp_err: print(" [%2d] '%s'" % (s,m)) 90 exp_status="not loaded", exp_err=[ 100 exp_status="loaded", exp_err=[ 113 exp_status="loaded", exp_err=[ 121 exp_status="not loaded", exp_err=[ 141 exp_status="not loaded", exp_err=[
|
/third_party/ltp/testcases/kernel/syscalls/fgetxattr/ |
D | fgetxattr02.c | 77 int exp_err; member 90 .exp_err = 0, 101 .exp_err = 0, 112 .exp_err = 0, 122 .exp_err = ENODATA, 133 .exp_err = ENODATA, 144 .exp_err = ENODATA, 155 .exp_err = ENODATA, 196 if (tc[i].exp_err == ENODATA && tst_kvercmp(3, 0, 0) < 0) in verify_fgetxattr() 197 tc[i].exp_err = EPERM; in verify_fgetxattr() [all …]
|
D | fgetxattr01.c | 52 int exp_err; member 60 .exp_err = ENODATA, 67 .exp_err = ERANGE, 74 .exp_err = 0, 101 if (tc[i].exp_err == TST_ERR) { in verify_fgetxattr()
|
/third_party/ltp/testcases/kernel/syscalls/clock_adjtime/ |
D | clock_adjtime02.c | 73 int exp_err; member 80 .exp_err = EINVAL, 84 .exp_err = EINVAL, 89 .exp_err = EFAULT, 96 .exp_err = EINVAL, 103 .exp_err = EINVAL, 108 .exp_err = EPERM, 164 if (tc[i].exp_err == EFAULT) { in verify_clock_adjtime() 177 if (tc[i].exp_err != TST_ERR) { in verify_clock_adjtime() 180 tc[i].exp_err, TST_ERR, tc[i].modes, whoami); in verify_clock_adjtime()
|
/third_party/ltp/testcases/kernel/syscalls/quotactl/ |
D | quotactl09.c | 61 int exp_err; member 104 if (tc->exp_err == EPERM) { in verify_quotactl() 110 if (tc->exp_err == ENOTBLK) { in verify_quotactl() 114 if (tc->exp_err == ENOSYS) { in verify_quotactl() 116 tc->addr), tc->exp_err, "syscall(quotactl_fd)"); in verify_quotactl() 120 if (tc->exp_err == ENOSYS) { in verify_quotactl() 125 if (tc->exp_err == ENOTBLK) in verify_quotactl() 130 tc->exp_err, "do_quotactl()"); in verify_quotactl()
|
/third_party/libbpf/src/ |
D | libbpf_probes.c | 29 int fd, err, exp_err = 0; in probe_prog_load() local 60 exp_err = -EINVAL; in probe_prog_load() 69 exp_err = -EINVAL; in probe_prog_load() 76 exp_err = -524; /* -ENOTSUPP */ in probe_prog_load() 109 if (exp_err) { in probe_prog_load() 110 if (fd >= 0 || err != exp_err) in probe_prog_load() 196 int fd = -1, btf_fd = -1, fd_inner = -1, exp_err = 0, err = 0; in probe_map_create() local 243 exp_err = -524; /* -ENOTSUPP */ in probe_map_create() 300 if (exp_err) in probe_map_create() 301 return fd < 0 && err == exp_err ? 1 : 0; in probe_map_create()
|
/third_party/ltp/testcases/kernel/syscalls/getxattr/ |
D | getxattr01.c | 71 int exp_err; member 79 .exp_err = ENODATA, 86 .exp_err = ERANGE, 93 .exp_err = 0, 115 if (TEST_ERRNO == tc[i].exp_err) { in main() 120 tc[i].exp_err); in main()
|
/third_party/ltp/testcases/kernel/syscalls/fstat/ |
D | fstat03.c | 34 int exp_err; member 46 if (tc->exp_err == TST_ERR) { in check_fstat() 49 tst_strerrno(tc->exp_err)); in check_fstat() 53 tst_strerrno(tc->exp_err)); in check_fstat() 73 if (tcases[tc_num].exp_err == EFAULT && WTERMSIG(status) == SIGSEGV) { in run()
|
/third_party/ltp/testcases/kernel/syscalls/utimensat/ |
D | utimensat01.c | 53 int exp_err; member 164 if (tc->exp_err != -1) in update_error() 174 tc->exp_err = EACCES; in update_error() 176 tc->exp_err = EPERM; in update_error() 241 } else if (tc->exp_err == EFAULT) { in run() 248 } else if (tc->exp_err == EFAULT) { in run() 257 if (!tc->exp_err) { in run() 259 } else if (tc->exp_err == TST_ERR) { in run() 263 i, tst_strerrno(tc->exp_err)); in run() 265 } else if (tc->exp_err) { in run()
|
/third_party/ltp/testcases/kernel/syscalls/io_setup/ |
D | io_setup01.c | 31 static void verify_failure(unsigned int nr, io_context_t *ctx, int init_val, long exp_err) in verify_failure() argument 43 if (TST_RET == -exp_err) { in verify_failure() 45 tst_strerrno(exp_err)); in verify_failure() 49 tst_strerrno(exp_err)); in verify_failure()
|
/third_party/ltp/testcases/kernel/syscalls/ioctl/ |
D | ioctl08.c | 42 int exp_err; member 70 if (tc->exp_err != TST_ERR) { in verify_ioctl() 73 tst_strerrno(TST_ERR), tst_strerrno(tc->exp_err)); in verify_ioctl() 93 tst_strerrno(tc->exp_err)); in verify_ioctl()
|
/third_party/ltp/testcases/kernel/syscalls/getcwd/ |
D | getcwd01.c | 34 int exp_err; member 56 if (TST_ERR != tc->exp_err) { in verify_getcwd() 58 tst_strerrno(tc->exp_err)); in verify_getcwd()
|
/third_party/ltp/testcases/kernel/containers/timens/ |
D | timens01.c | 25 int exp_err; member 52 if (errno != tc->exp_err) { in verify_ns_clock() 54 tc->desc, tst_strerrno(tc->exp_err)); in verify_ns_clock()
|
/third_party/ltp/testcases/kernel/syscalls/flock/ |
D | flock02.c | 26 int exp_err; member 45 if (tc->exp_err == TST_ERR) { in verify_flock() 49 "expected %s", tst_strerrno(tc->exp_err)); in verify_flock()
|
/third_party/ltp/testcases/kernel/syscalls/ipc/shmget/ |
D | shmget02.c | 54 int exp_err; member 95 TST_EXP_FAIL2(shmget(*tc->shmkey, tc->size, tc->flags), tc->exp_err, in do_test() 107 TST_EXP_FAIL2(shmget(*tc->shmkey, tc->size, tc->flags), tc->exp_err, in do_test() 133 tcases[i].exp_err = hugetlb_errno; in setup()
|