/external/ltp/testcases/kernel/syscalls/waitid/ |
D | waitid02.c | 58 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/ |
D | setns01.c | 49 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/ |
D | mremap05.c | 56 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/ |
D | readlinkat01.c | 59 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/ |
D | fchownat01.c | 53 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/ |
D | openat01.c | 60 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/ |
D | set_thread_area01.c | 42 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/ |
D | unlink08.c | 136 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/ |
D | mkdirat01.c | 54 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/ |
D | mknodat01.c | 60 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/ |
D | setreuid03.c | 51 int *exp_ret; member 111 if (TEST_RETURN == *test_data[i].exp_ret) { in main()
|
D | setreuid05.c | 45 int *exp_ret; member 108 if (TEST_RETURN == *test_data[i].exp_ret) { in main()
|
/external/ltp/testcases/kernel/syscalls/setregid/ |
D | setregid03.c | 53 int *exp_ret; member 120 if (test_ret == *test_data[i].exp_ret) { in main()
|