Home
last modified time | relevance | path

Searched refs:TST_EXP_FAIL2 (Results 1 – 25 of 41) sorted by relevance

12

/external/ltp/lib/newlib_tests/
Dtest_macros02.c41 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()
Dtest_macros05.c33 TST_EXP_FAIL2(MACRO_FAIL(), EINVAL); in do_test()
/external/ltp/testcases/kernel/syscalls/pidfd_getfd/
Dpidfd_getfd02.c75 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/
Dsetresuid04.c44 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/
Dopenat01.c64 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/
Dshmget02.c95 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()
Dshmget04.c43 TST_EXP_FAIL2(shmget(shmkey, SHM_SIZE, tc->flag), EACCES, "shmget(%i, %i, %i)", in verify_shmget()
/external/ltp/testcases/kernel/syscalls/kill/
Dkill13.c29 TST_EXP_FAIL2(kill(INT_MIN, 0), ESRCH, in run()
/external/ltp/testcases/kernel/syscalls/open/
Dopen06.c27 TST_EXP_FAIL2(open(TEMP_FIFO, O_NONBLOCK | O_WRONLY), ENXIO); in run()
Dopen02.c49 TST_EXP_FAIL2(open(tc->filename, tc->flag, 0444), in verify_open()
Dopen04.c50 TST_EXP_FAIL2(open(fname, O_RDWR | O_CREAT, 0777), EMFILE); in run()
/external/ltp/testcases/kernel/syscalls/signal/
Dsignal02.c18 TST_EXP_FAIL2((long)signal(sigs[n], SIG_IGN), EINVAL); in do_test()
Dsignal01.c56 TST_EXP_FAIL2((long)signal(SIGKILL, tc->sighandler), EINVAL); in do_test()
/external/ltp/testcases/kernel/syscalls/io_getevents/
Dio_getevents01.c26 TST_EXP_FAIL2(tst_syscall(__NR_io_getevents, ctx, 0, 0, NULL, NULL), EINVAL, in run()
/external/ltp/testcases/kernel/syscalls/wait4/
Dwait403.c31 TST_EXP_FAIL2(wait4(INT_MIN, &status, 0, &rusage), ESRCH, in run()
/external/ltp/testcases/kernel/syscalls/keyctl/
Dkeyctl09.c42 TST_EXP_FAIL2(add_key("encrypted", "ltptestkey2", in do_test()
/external/ltp/testcases/kernel/syscalls/dup2/
Ddup201.c47 TST_EXP_FAIL2(dup2(*tc->ofd, *tc->nfd), EBADF, in run()
/external/ltp/testcases/kernel/syscalls/fcntl/
Dfcntl12.c39 TST_EXP_FAIL2(fcntl(1, F_DUPFD, 1), EMFILE, in verify_fcntl()
Dfcntl13.c47 TST_EXP_FAIL2(fcntl(tc->fd, tc->cmd, tc->flock), tc->exp_errno, in verify_fcntl()
/external/ltp/testcases/kernel/syscalls/dup3/
Ddup3_02.c41 TST_EXP_FAIL2(dup3(*tc->oldfd, *tc->newfd, tc->flags), EINVAL, in run()
/external/ltp/testcases/kernel/syscalls/pidfd_open/
Dpidfd_open02.c42 TST_EXP_FAIL2(pidfd_open(*tc->pid, tc->flags), tc->exp_errno, in run()
/external/ltp/testcases/kernel/syscalls/sendfile/
Dsendfile03.c53 TST_EXP_FAIL2(sendfile(*(tc[i].out_fd), *(tc[i].in_fd), NULL, 1), in run()
Dsendfile04.c61 TST_EXP_FAIL2(sendfile(out_fd, in_fd, protected_buffer, 1), in run()
/external/ltp/testcases/kernel/syscalls/ipc/msgrcv/
Dmsgrcv06.c27 TST_EXP_FAIL2(msgrcv(queue_id, &rcv_buf, MSGSIZE, 1, 0), EIDRM, in verify_msgrcv()
Dmsgrcv05.c33 TST_EXP_FAIL2(msgrcv(queue_id, &rcv_buf, MSGSIZE, 1, 0), EINTR, in verify_msgrcv()

12