/external/ltp/testcases/kernel/syscalls/epoll/ |
D | epoll-ltp.c | 475 int expected_errno = 0; in test_epoll_ctl() local 513 expected_errno = in test_epoll_ctl() 517 expected_errno = in test_epoll_ctl() 528 expected_errno = EINVAL; in test_epoll_ctl() 533 expected_errno = EPERM; in test_epoll_ctl() 537 expected_errno = EINVAL; in test_epoll_ctl() 544 expected_errno = in test_epoll_ctl() 553 expected_errno in test_epoll_ctl() 583 expected_errno) in test_epoll_ctl() 594 expected_errno) in test_epoll_ctl() [all …]
|
/external/ltp/testcases/kernel/syscalls/swapon/ |
D | swapon03.c | 66 int expected_errno = EPERM; variable 87 if ((TEST_RETURN == -1) && (TEST_ERRNO == expected_errno)) { in main() 89 expected_errno); in main() 94 expected_errno); in main() 117 && (TEST_ERRNO == expected_errno)) { in main() 122 expected_errno); in main() 129 expected_errno, in main()
|
/external/ltp/testcases/kernel/syscalls/migrate_pages/ |
D | migrate_pages_common.c | 49 int check_errno(long expected_errno) in check_errno() argument 51 if (TEST_ERRNO == expected_errno) { in check_errno() 59 expected_errno, strerror(expected_errno)); in check_errno()
|
D | migrate_pages_common.h | 32 int check_errno(long expected_errno);
|
/external/ltp/testcases/kernel/syscalls/munmap/ |
D | munmap03.c | 94 static void check_and_print(int expected_errno) in check_and_print() argument 97 if (TEST_ERRNO == expected_errno) { in check_and_print() 102 expected_errno, strerror(expected_errno)); in check_and_print()
|
/external/ltp/testcases/kernel/syscalls/readahead/ |
D | readahead01.c | 67 static int check_errno(long expected_errno) in check_errno() argument 69 if (TEST_ERRNO == expected_errno) { in check_errno() 79 expected_errno, strerror(expected_errno)); in check_errno()
|
/external/ltp/testcases/kernel/syscalls/linkat/ |
D | linkat02.c | 68 int expected_errno; member 108 if (desc->expected_errno == EMLINK && max_hardlinks == 0) { in linkat_verify() 131 if (TEST_ERRNO == desc->expected_errno) { in linkat_verify() 136 "%d - %s", desc->expected_errno, in linkat_verify() 137 strerror(desc->expected_errno)); in linkat_verify()
|
D | linkat01.c | 100 int expected_errno; member 257 if (TEST_ERRNO == desc->expected_errno) { in mylinkat_test() 293 desc->expected_errno, in mylinkat_test() 294 strerror(desc->expected_errno)); in mylinkat_test()
|
/external/ltp/testcases/kernel/syscalls/rename/ |
D | rename11.c | 129 static void check_and_print(int expected_errno) in check_and_print() argument 132 if (TEST_ERRNO == expected_errno) { in check_and_print() 137 expected_errno, strerror(expected_errno)); in check_and_print()
|
/external/ltp/testcases/kernel/syscalls/futimesat/ |
D | futimesat01.c | 58 static const int expected_errno[] = { 0, 0, ENOTDIR, EBADF, 0 }; variable 85 if (TEST_ERRNO == expected_errno[i]) { in main()
|
/external/ltp/testcases/kernel/syscalls/cma/ |
D | process_vm01.c | 165 static int cma_check_errno(long expected_errno) in cma_check_errno() argument 167 if (TEST_ERRNO == expected_errno) in cma_check_errno() 175 expected_errno, strerror(expected_errno)); in cma_check_errno()
|
/external/ltp/testcases/kernel/syscalls/fchmodat/ |
D | fchmodat01.c | 64 int expected_errno[TEST_CASES] = { 0, 0, ENOTDIR, EBADF, 0, 0 }; variable 93 if (TEST_ERRNO == expected_errno[i]) { in main()
|
/external/ltp/testcases/kernel/syscalls/faccessat/ |
D | faccessat01.c | 64 static int expected_errno[TEST_CASES] = { 0, 0, ENOTDIR, EBADF, 0, 0 }; variable 94 if (TEST_ERRNO == expected_errno[i]) { in main()
|
/external/ltp/testcases/kernel/syscalls/unlinkat/ |
D | unlinkat01.c | 64 static const int expected_errno[] = { 0, 0, ENOTDIR, EBADF, EINVAL, 0, 0 }; variable 90 if (TEST_ERRNO == expected_errno[i]) { in main()
|
/external/ltp/testcases/kernel/syscalls/fstatat/ |
D | fstatat01.c | 59 static const int expected_errno[] = { 0, 0, ENOTDIR, EBADF, EINVAL, 0 }; variable 103 if (TEST_ERRNO == expected_errno[i]) { in main()
|
/external/linux-kselftest/tools/testing/selftests/exec/ |
D | execveat.c | 41 int expected_errno, const char *errno_str) in _check_execveat_fail() argument 54 if (errno != expected_errno) { in _check_execveat_fail() 56 expected_errno, strerror(expected_errno), in _check_execveat_fail()
|
/external/ltp/testcases/kernel/syscalls/symlinkat/ |
D | symlinkat01.c | 77 int expected_errno; member 190 if (TEST_ERRNO == desc->expected_errno) { in mysymlinkat_test()
|
/external/jemalloc/test/unit/ |
D | util.c | 72 int expected_errno; in TEST_BEGIN() member 146 assert_d_eq(err, test->expected_errno, in TEST_BEGIN()
|