/external/ltp/testcases/kernel/syscalls/clock_settime/ |
D | clock_settime02.c | 23 int exp_err; member 30 .exp_err = EFAULT, 36 .exp_err = EINVAL, 42 .exp_err = EINVAL, 48 .exp_err = EINVAL, 53 .exp_err = EINVAL, 57 .exp_err = EINVAL, 61 .exp_err = EINVAL, 66 .exp_err = EINVAL, 70 .exp_err = EINVAL, [all …]
|
/external/ltp/testcases/kernel/syscalls/clock_gettime/ |
D | clock_gettime02.c | 29 int exp_err; member 36 .exp_err = EINVAL, 40 .exp_err = EINVAL, 48 .exp_err = EFAULT, 52 .exp_err = EFAULT, 56 .exp_err = EFAULT, 60 .exp_err = EFAULT, 64 .exp_err = EFAULT, 69 .exp_err = EFAULT, 74 .exp_err = EFAULT, [all …]
|
/external/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()
|
/external/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 …]
|
/external/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, 97 .exp_err = EINVAL, 105 .exp_err = EINVAL, 110 .exp_err = EPERM, 147 if (tc[i].exp_err == EFAULT) in verify_clock_adjtime() 151 if (txcptr && tc[i].exp_err != EFAULT) in verify_clock_adjtime() 160 if (tc[i].exp_err != TST_ERR) { in verify_clock_adjtime() [all …]
|
/external/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()
|
/external/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=[
|
/external/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()
|
/external/ltp/testcases/kernel/syscalls/clock_nanosleep/ |
D | clock_nanosleep01.c | 35 int exp_err; member 51 .exp_err = 0, 59 .exp_err = 0, 67 .exp_err = 0, 75 .exp_err = 0, 126 tc->exp_ret, tst_strerrno(tc->exp_err), tc->exp_err); in do_test()
|
/external/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()
|
/external/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()
|
/external/ltp/testcases/kernel/syscalls/io_setup/ |
D | io_setup01.c | 29 static void verify_failure(unsigned int nr, io_context_t *ctx, int init_val, long exp_err) in verify_failure() argument 41 if (TST_RET == -exp_err) { in verify_failure() 43 tst_strerrno(exp_err)); in verify_failure() 47 tst_strerrno(exp_err)); in verify_failure()
|
/external/ltp/testcases/kernel/syscalls/epoll_ctl/ |
D | epoll_ctl02.c | 51 int exp_err; member 100 if (tc->exp_err == TST_ERR) { in verify_epoll_ctl() 105 tc->exp_err, tst_strerrno(tc->exp_err)); in verify_epoll_ctl()
|
/external/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()
|
/external/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()
|
/external/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()
|
/external/ltp/testcases/kernel/syscalls/quotactl/ |
D | quotactl06.c | 76 int exp_err; member 111 if (tc->exp_err == EPERM) { in verify_quotactl() 116 if (tc->exp_err == ENOTBLK) in verify_quotactl() 121 if (tc->exp_err == TST_ERR) { in verify_quotactl() 126 tst_strerrno(tc->exp_err)); in verify_quotactl()
|
/external/ltp/testcases/kernel/syscalls/sysctl/ |
D | sysctl04.c | 34 int exp_err; member 58 if (TST_ERR == tc->exp_err) { in verify_sysctl() 62 tst_strerrno(tc->exp_err)); in verify_sysctl()
|
/external/ltp/testcases/kernel/syscalls/listxattr/ |
D | listxattr02.c | 46 int exp_err; member 67 if (t->exp_err != TST_ERR) { in verify_listxattr() 70 tst_strerrno(t->exp_err)); in verify_listxattr()
|
/external/ltp/testcases/kernel/syscalls/flistxattr/ |
D | flistxattr02.c | 42 int exp_err; member 61 if (t->exp_err != TST_ERR) { in verify_flistxattr() 64 tst_strerrno(t->exp_err)); in verify_flistxattr()
|
/external/ltp/testcases/kernel/syscalls/lgetxattr/ |
D | lgetxattr02.c | 41 int exp_err; member 59 if (TST_ERR != tc->exp_err) { in verify_lgetxattr() 61 "expected %s", tst_strerrno(tc->exp_err)); in verify_lgetxattr()
|