Home
last modified time | relevance | path

Searched refs:exp_err (Results 1 – 25 of 47) sorted by relevance

12

/external/ltp/testcases/kernel/syscalls/clock_settime/
Dclock_settime02.c23 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/
Dclock_gettime02.c29 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/
Dsetxattr01.c66 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 …]
Dsetxattr02.c63 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 …]
Dsetxattr03.c56 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/
Dfsetxattr01.c68 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 …]
Dfsetxattr02.c69 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/
Dclock_adjtime02.c73 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/
Dfremovexattr02.c45 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/
Dinput_callback.py47 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/
Dfgetxattr02.c77 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 …]
Dfgetxattr01.c52 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/
Dclock_nanosleep01.c35 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/
Dfstat03.c34 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/
Dgetxattr01.c71 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/
Dio_setup01.c29 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/
Depoll_ctl02.c51 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/
Dioctl08.c42 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/
Dgetcwd01.c34 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/
Dflock02.c26 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/
Dquotactl06.c76 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/
Dsysctl04.c34 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/
Dlistxattr02.c46 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/
Dflistxattr02.c42 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/
Dlgetxattr02.c41 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()

12