Home
last modified time | relevance | path

Searched refs:exp_ret (Results 1 – 13 of 13) sorted by relevance

/external/ltp/testcases/kernel/syscalls/waitid/
Dwaitid02.c58 int exp_ret; member
82 .exp_ret = -1,
90 .exp_ret = -1,
98 .exp_ret = 0,
106 .exp_ret = 0,
113 .exp_ret = 0,
120 .exp_ret = 0,
128 .exp_ret = 0,
137 .exp_ret = -1,
263 if (TEST_RETURN == t->exp_ret) { in test_waitid()
[all …]
/external/ltp/testcases/kernel/syscalls/setns/
Dsetns01.c49 int exp_ret; member
70 .exp_ret = -1,
76 .exp_ret = -1,
84 .exp_ret = -1,
90 .exp_ret = -1,
96 .exp_ret = -1,
172 if (ret == t->exp_ret) { in test_setns()
181 ret, t->exp_ret); in test_setns()
/external/ltp/testcases/kernel/syscalls/mremap/
Dmremap05.c56 void *exp_ret; member
79 .exp_ret = MAP_FAILED,
88 .exp_ret = MAP_FAILED,
97 .exp_ret = MAP_FAILED,
143 if (t->ret == t->exp_ret) { in test_mremap()
158 t->ret, t->exp_ret); in test_mremap()
184 t->exp_ret = t->new_address; in setup3()
192 t->exp_ret = t->new_address; in setup4()
/external/ltp/testcases/kernel/syscalls/readlinkat/
Dreadlinkat01.c59 int exp_ret; member
79 if (TEST_RETURN != test->exp_ret) { in verify_readlinkat()
82 TEST_RETURN, test->exp_ret); in verify_readlinkat()
89 TEST_RETURN, test->exp_ret); in verify_readlinkat()
93 if (test->exp_ret > 0 && strcmp(test->exp_buf, buf)) { in verify_readlinkat()
/external/ltp/testcases/kernel/syscalls/fchownat/
Dfchownat01.c53 int exp_ret; member
112 if (TEST_RETURN != test->exp_ret) { in fchownat_verify()
115 TEST_RETURN, test->exp_ret, test->exp_errno); in fchownat_verify()
122 test->exp_ret, strerror(test->exp_errno)); in fchownat_verify()
/external/ltp/testcases/kernel/syscalls/openat/
Dopenat01.c60 int exp_ret; member
76 if ((test->exp_ret == -1 && TEST_RETURN != -1) || in verify_openat()
77 (test->exp_ret == 0 && TEST_RETURN < 0)) { in verify_openat()
80 TEST_RETURN, test->exp_ret); in verify_openat()
/external/ltp/testcases/kernel/syscalls/set_thread_area/
Dset_thread_area01.c42 int exp_ret; member
79 if (TEST_RETURN != tests[i].exp_ret) { in main()
82 TEST_RETURN, tests[i].exp_ret); in main()
/external/ltp/testcases/kernel/syscalls/unlink/
Dunlink08.c136 int exp_ret; /* -1 means error, 0 means != -1 */ member
194 if (Test_cases[ind].exp_ret == -1) { /* neg test */ in main()
214 if (Test_cases[ind].exp_ret == -1) { in main()
254 Test_cases[ind].exp_ret = 0; /* set as a pos test */ in setup()
/external/ltp/testcases/kernel/syscalls/mkdirat/
Dmkdirat01.c54 int exp_ret; member
71 if (TEST_RETURN != test->exp_ret) { in verify_mkdirat()
74 TEST_RETURN, test->exp_ret); in verify_mkdirat()
/external/ltp/testcases/kernel/syscalls/mknodat/
Dmknodat01.c60 int exp_ret; member
79 if (TEST_RETURN != test->exp_ret) { in verify_mknodat()
82 TEST_RETURN, test->exp_ret); in verify_mknodat()
/external/ltp/testcases/kernel/syscalls/setreuid/
Dsetreuid03.c51 int *exp_ret; member
111 if (TEST_RETURN == *test_data[i].exp_ret) { in main()
Dsetreuid05.c45 int *exp_ret; member
108 if (TEST_RETURN == *test_data[i].exp_ret) { in main()
/external/ltp/testcases/kernel/syscalls/setregid/
Dsetregid03.c53 int *exp_ret; member
120 if (test_ret == *test_data[i].exp_ret) { in main()