/external/ltp/lib/newlib_tests/ |
D | test_macros02.c | 41 TST_EXP_FAIL2(fail_fn(), EINVAL, "fail_fn()"); in do_test() 43 TST_EXP_FAIL2(fail_fn(), ENOTTY, "fail_fn()"); in do_test() 45 TST_EXP_FAIL2(pass_fn(), ENOTTY, "pass_fn"); in do_test() 47 TST_EXP_FAIL2(inval_ret_fn(), ENOTTY, "inval_ret_fn()"); in do_test()
|
D | test_macros05.c | 33 TST_EXP_FAIL2(MACRO_FAIL(), EINVAL); in do_test()
|
/external/ltp/testcases/kernel/syscalls/pidfd_getfd/ |
D | pidfd_getfd02.c | 75 TST_EXP_FAIL2(pidfd_getfd(valid_pidfd, tc->targetfd, tc->flags), in run() 93 TST_EXP_FAIL2(pidfd_getfd(pidfd, tc->targetfd, tc->flags), in run() 98 TST_EXP_FAIL2(pidfd_getfd(*tc->pidfd, tc->targetfd, tc->flags), in run()
|
/external/ltp/testcases/kernel/syscalls/setresuid/ |
D | setresuid04.c | 44 TST_EXP_FAIL2(open(TEMP_FILE, O_RDWR), EACCES); in run() 48 TST_EXP_FAIL2(open(TEMP_FILE, O_RDWR), EACCES); in run()
|
/external/ltp/testcases/kernel/syscalls/openat/ |
D | openat01.c | 64 TST_EXP_FAIL2(openat(*tc->dir_fd, tc->pathname, O_RDWR, 0600), in verify_openat() 67 TST_EXP_FAIL2(openat(*tc->dir_fd, tc->pathname, O_RDWR, 0600), in verify_openat()
|
/external/ltp/testcases/kernel/syscalls/ipc/shmget/ |
D | shmget02.c | 95 TST_EXP_FAIL2(shmget(*tc->shmkey, tc->size, tc->flags), tc->exp_err, in do_test() 107 TST_EXP_FAIL2(shmget(*tc->shmkey, tc->size, tc->flags), tc->exp_err, in do_test()
|
D | shmget04.c | 43 TST_EXP_FAIL2(shmget(shmkey, SHM_SIZE, tc->flag), EACCES, "shmget(%i, %i, %i)", in verify_shmget()
|
/external/ltp/testcases/kernel/syscalls/kill/ |
D | kill13.c | 29 TST_EXP_FAIL2(kill(INT_MIN, 0), ESRCH, in run()
|
/external/ltp/testcases/kernel/syscalls/open/ |
D | open06.c | 27 TST_EXP_FAIL2(open(TEMP_FIFO, O_NONBLOCK | O_WRONLY), ENXIO); in run()
|
D | open02.c | 49 TST_EXP_FAIL2(open(tc->filename, tc->flag, 0444), in verify_open()
|
D | open04.c | 50 TST_EXP_FAIL2(open(fname, O_RDWR | O_CREAT, 0777), EMFILE); in run()
|
/external/ltp/testcases/kernel/syscalls/signal/ |
D | signal02.c | 18 TST_EXP_FAIL2((long)signal(sigs[n], SIG_IGN), EINVAL); in do_test()
|
D | signal01.c | 56 TST_EXP_FAIL2((long)signal(SIGKILL, tc->sighandler), EINVAL); in do_test()
|
/external/ltp/testcases/kernel/syscalls/io_getevents/ |
D | io_getevents01.c | 26 TST_EXP_FAIL2(tst_syscall(__NR_io_getevents, ctx, 0, 0, NULL, NULL), EINVAL, in run()
|
/external/ltp/testcases/kernel/syscalls/wait4/ |
D | wait403.c | 31 TST_EXP_FAIL2(wait4(INT_MIN, &status, 0, &rusage), ESRCH, in run()
|
/external/ltp/testcases/kernel/syscalls/keyctl/ |
D | keyctl09.c | 42 TST_EXP_FAIL2(add_key("encrypted", "ltptestkey2", in do_test()
|
/external/ltp/testcases/kernel/syscalls/dup2/ |
D | dup201.c | 47 TST_EXP_FAIL2(dup2(*tc->ofd, *tc->nfd), EBADF, in run()
|
/external/ltp/testcases/kernel/syscalls/fcntl/ |
D | fcntl12.c | 39 TST_EXP_FAIL2(fcntl(1, F_DUPFD, 1), EMFILE, in verify_fcntl()
|
D | fcntl13.c | 47 TST_EXP_FAIL2(fcntl(tc->fd, tc->cmd, tc->flock), tc->exp_errno, in verify_fcntl()
|
/external/ltp/testcases/kernel/syscalls/dup3/ |
D | dup3_02.c | 41 TST_EXP_FAIL2(dup3(*tc->oldfd, *tc->newfd, tc->flags), EINVAL, in run()
|
/external/ltp/testcases/kernel/syscalls/pidfd_open/ |
D | pidfd_open02.c | 42 TST_EXP_FAIL2(pidfd_open(*tc->pid, tc->flags), tc->exp_errno, in run()
|
/external/ltp/testcases/kernel/syscalls/sendfile/ |
D | sendfile03.c | 53 TST_EXP_FAIL2(sendfile(*(tc[i].out_fd), *(tc[i].in_fd), NULL, 1), in run()
|
D | sendfile04.c | 61 TST_EXP_FAIL2(sendfile(out_fd, in_fd, protected_buffer, 1), in run()
|
/external/ltp/testcases/kernel/syscalls/ipc/msgrcv/ |
D | msgrcv06.c | 27 TST_EXP_FAIL2(msgrcv(queue_id, &rcv_buf, MSGSIZE, 1, 0), EIDRM, in verify_msgrcv()
|
D | msgrcv05.c | 33 TST_EXP_FAIL2(msgrcv(queue_id, &rcv_buf, MSGSIZE, 1, 0), EINTR, in verify_msgrcv()
|