Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/syscalls/setxattr/
Dsetxattr01.c85 int exp_err; member
94 .exp_err = EINVAL,
102 .exp_err = ENODATA,
110 .exp_err = ERANGE,
118 .exp_err = E2BIG,
126 .exp_err = 0,
134 .exp_err = EEXIST,
142 .exp_err = 0,
164 if (TEST_ERRNO == tc[i].exp_err) { in main()
169 tc[i].exp_err); in main()
Dsetxattr02.c85 int exp_err; member
94 .exp_err = 0,
102 .exp_err = 0,
110 .exp_err = EEXIST,
118 .exp_err = EPERM,
126 .exp_err = EPERM,
134 .exp_err = EPERM,
142 .exp_err = EPERM,
164 if (TEST_ERRNO == tc[i].exp_err) { in main()
169 tc[i].exp_err); in main()
Dsetxattr03.c76 int exp_err; member
86 .exp_err = EPERM,
95 .exp_err = EPERM,
123 if (TEST_ERRNO == tc[i].exp_err) { in main()
128 tc[i].exp_err); in main()
/external/ltp/testcases/kernel/syscalls/clock_nanosleep/
Dclock_nanosleep01.c50 int exp_err; member
66 .exp_err = 0,
74 .exp_err = 0,
82 .exp_err = 0,
90 .exp_err = 0,
98 .exp_err = 0,
106 .exp_err = 0,
172 tc->exp_ret, tst_strerrno(tc->exp_err), tc->exp_err); in do_test()
/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/getxattr/
Dgetxattr01.c70 int exp_err; member
78 .exp_err = ENODATA,
85 .exp_err = ERANGE,
92 .exp_err = 0,
114 if (TEST_ERRNO == tc[i].exp_err) { in main()
119 tc[i].exp_err); in main()
/external/ltp/testcases/kernel/syscalls/epoll_ctl/
Depoll_ctl02.c61 int exp_err; member
110 if (tc->exp_err == TEST_ERRNO) { in verify_epoll_ctl()
115 tc->exp_err, tst_strerrno(tc->exp_err)); in verify_epoll_ctl()
/external/ltp/testcases/kernel/syscalls/getcwd/
Dgetcwd01.c46 int exp_err; member
68 if (TEST_ERRNO != tc->exp_err) { in verify_getcwd()
70 tst_strerrno(tc->exp_err)); in verify_getcwd()
/external/ltp/testcases/kernel/syscalls/listxattr/
Dlistxattr02.c58 int exp_err; member
79 if (t->exp_err != TEST_ERRNO) { in verify_listxattr()
82 tst_strerrno(t->exp_err)); in verify_listxattr()
/external/ltp/testcases/kernel/syscalls/lgetxattr/
Dlgetxattr02.c52 int exp_err; member
70 if (TEST_ERRNO != tc->exp_err) { in verify_lgetxattr()
72 "expected %s", tst_strerrno(tc->exp_err)); in verify_lgetxattr()
/external/ltp/testcases/kernel/syscalls/llistxattr/
Dllistxattr02.c57 int exp_err; member
78 if (TEST_ERRNO != t->exp_err) { in verify_llistxattr()
81 tst_strerrno(t->exp_err)); in verify_llistxattr()
/external/ltp/testcases/kernel/syscalls/flistxattr/
Dflistxattr02.c52 int exp_err; member
71 if (t->exp_err != TEST_ERRNO) { in verify_flistxattr()
74 tst_strerrno(t->exp_err)); in verify_flistxattr()
/external/ltp/testcases/kernel/syscalls/removexattr/
Dremovexattr02.c49 int exp_err; member
98 if (TEST_ERRNO != tc->exp_err) { in verify_removexattr()
100 " expected %s", tst_strerrno(tc->exp_err)); in verify_removexattr()
/external/ltp/testcases/kernel/syscalls/request_key/
Drequest_key02.c48 int exp_err; member
66 if (TEST_ERRNO == tc->exp_err) { in verify_request_key()
72 "expected %s", tst_strerrno(tc->exp_err)); in verify_request_key()
/external/ltp/testcases/kernel/syscalls/ipc/msgsnd/
Dmsgsnd05.c46 int exp_err; member
62 if (TEST_ERRNO == tc->exp_err) { in verify_msgsnd()
66 " expected %s", tst_strerrno(tc->exp_err)); in verify_msgsnd()
Dmsgsnd02.c62 int exp_err; member
82 if (TEST_ERRNO == tc->exp_err) { in verify_msgsnd()
86 " expected %s", tst_strerrno(tc->exp_err)); in verify_msgsnd()
/external/ltp/testcases/kernel/syscalls/ipc/msgget/
Dmsgget02.c47 int exp_err; member
68 if (TEST_ERRNO == tc->exp_err) { in verify_msgget()
72 " expected %s", tst_strerrno(tc->exp_err)); in verify_msgget()
/external/ltp/testcases/kernel/syscalls/pwritev/
Dpwritev02.c70 int exp_err; member
91 if (TEST_ERRNO == tc->exp_err) { in verify_pwritev()
97 tst_strerrno(tc->exp_err)); in verify_pwritev()
/external/ltp/testcases/kernel/syscalls/preadv/
Dpreadv02.c73 int exp_err; member
96 if (TEST_ERRNO == tc->exp_err) { in verify_preadv()
102 tst_strerrno(tc->exp_err)); in verify_preadv()
/external/ltp/testcases/kernel/syscalls/waitpid/
Dwaitpid_common.h78 static int waitpid_errno_check(int err, int exp_err) in waitpid_errno_check() argument
80 if (err != exp_err) { in waitpid_errno_check()
82 tst_strerrno(err), tst_strerrno(exp_err)); in waitpid_errno_check()