/third_party/ltp/testcases/kernel/syscalls/io_setup/ |
D | io_setup02.c | 33 TST_EXP_FAIL(tst_syscall(__NR_io_setup, 1, NULL), EFAULT, in run() 37 TST_EXP_FAIL(tst_syscall(__NR_io_setup, 1, &ctx), EINVAL, in run() 41 TST_EXP_FAIL(tst_syscall(__NR_io_setup, -1, &ctx), EINVAL, in run() 47 TST_EXP_FAIL(tst_syscall(__NR_io_setup, aio_max + 1, &ctx), EAGAIN, in run()
|
/third_party/ltp/testcases/kernel/syscalls/close_range/ |
D | close_range02.c | 54 TST_EXP_FAIL(fcntl(fd, F_GETFD), EBADF, in run() 56 TST_EXP_FAIL(fcntl(100, F_GETFD), EBADF); in run() 59 TST_EXP_FAIL(close_range(4, 3, 0), EINVAL); in run() 62 TST_EXP_FAIL(close_range(3, ~0U, ~0U), EINVAL); in run() 95 TST_EXP_FAIL(fcntl(fd, F_GETFD), EBADF, in run()
|
/third_party/ltp/lib/newlib_tests/ |
D | test_macros02.c | 31 TST_EXP_FAIL(fail_fn(), EINVAL, "fail_fn()"); in do_test() 33 TST_EXP_FAIL(fail_fn(), ENOTTY, "fail_fn()"); in do_test() 35 TST_EXP_FAIL(pass_fn(), ENOTTY, "pass_fn()"); in do_test() 37 TST_EXP_FAIL(inval_ret_fn(), ENOTTY, "inval_ret_fn()"); in do_test()
|
/third_party/ltp/testcases/kernel/syscalls/reboot/ |
D | reboot02.c | 40 TST_EXP_FAIL(reboot(tc->cmd), in run() 46 TST_EXP_FAIL(reboot(tc->cmd), in run()
|
/third_party/ltp/testcases/kernel/syscalls/access/ |
D | access03.c | 34 TST_EXP_FAIL(access(tc->addr, tc->mode), EFAULT, in verify_access() 43 TST_EXP_FAIL(access(tc->addr, tc->mode), EFAULT, in verify_access()
|
/third_party/ltp/testcases/kernel/syscalls/sysfs/ |
D | sysfs05.c | 35 TST_EXP_FAIL(tst_syscall(__NR_sysfs, tc->option, tc->fsname), in verify_sysfs05() 38 TST_EXP_FAIL(tst_syscall(__NR_sysfs, tc->option, tc->fsindex, buf), in verify_sysfs05()
|
D | sysfs04.c | 22 TST_EXP_FAIL(tst_syscall(__NR_sysfs, INVALID_OPTION), in verify_sysfs04()
|
/third_party/ltp/testcases/kernel/syscalls/bind/ |
D | bind03.c | 31 TST_EXP_FAIL(bind(sock1, (struct sockaddr *)&sun2, sizeof(sun2)), in run() 38 TST_EXP_FAIL(bind(sock2, (struct sockaddr *)&sun1, sizeof(sun1)), in run()
|
/third_party/ltp/testcases/kernel/syscalls/quotactl/ |
D | quotactl09.c | 115 TST_EXP_FAIL(syscall(__NR_quotactl_fd, socket_fd, tc->cmd, *tc->id, in verify_quotactl() 126 TST_EXP_FAIL(do_quotactl(fd, tc->cmd, "/dev/null", *tc->id, tc->addr), in verify_quotactl() 129 TST_EXP_FAIL(do_quotactl(fd, tc->cmd, tst_device->dev, *tc->id, tc->addr), in verify_quotactl()
|
D | quotactl06.c | 151 TST_EXP_FAIL(quotactl(tc->cmd, "/dev/null", *tc->id, tc->addr), in verify_quotactl() 154 TST_EXP_FAIL(quotactl(tc->cmd, tst_device->dev, *tc->id, tc->addr), in verify_quotactl()
|
/third_party/ltp/testcases/kernel/syscalls/close/ |
D | close02.c | 20 TST_EXP_FAIL(close(-1), EBADF); in run()
|
/third_party/ltp/testcases/kernel/syscalls/wait/ |
D | wait01.c | 19 TST_EXP_FAIL(wait(NULL), ECHILD); in verify_wait()
|
/third_party/ltp/testcases/kernel/syscalls/fchdir/ |
D | fchdir02.c | 17 TST_EXP_FAIL(fchdir(bad_fd), EBADF); in verify_fchdir()
|
/third_party/ltp/testcases/kernel/syscalls/sched_get_priority_max/ |
D | sched_get_priority_max02.c | 23 TST_EXP_FAIL(tst_syscall(__NR_sched_get_priority_max, SCHED_INVALID), EINVAL); in verif_sched_get_priority_max02()
|
/third_party/ltp/testcases/kernel/syscalls/sched_get_priority_min/ |
D | sched_get_priority_min02.c | 23 TST_EXP_FAIL(tst_syscall(__NR_sched_get_priority_min, SCHED_INVALID), EINVAL); in verif_sched_get_priority_min02()
|
/third_party/ltp/testcases/kernel/syscalls/uname/ |
D | uname02.c | 19 TST_EXP_FAIL(uname(bad_addr), EFAULT); in verify_uname()
|
/third_party/ltp/testcases/kernel/syscalls/getitimer/ |
D | getitimer02.c | 25 TST_EXP_FAIL(sys_getitimer(ITIMER_REAL, (struct itimerval *)-1), EFAULT); in verify_getitimer()
|
/third_party/ltp/testcases/kernel/syscalls/io_destroy/ |
D | io_destroy02.c | 28 TST_EXP_FAIL(tst_syscall(__NR_io_destroy, ctx), EINVAL, in run()
|
/third_party/ltp/testcases/kernel/syscalls/io_cancel/ |
D | io_cancel01.c | 26 TST_EXP_FAIL(tst_syscall(__NR_io_cancel, ctx, NULL, NULL), EFAULT); in run()
|
/third_party/ltp/testcases/kernel/syscalls/chroot/ |
D | chroot04.c | 27 TST_EXP_FAIL(chroot(TEST_TMPDIR), EACCES, "no search permission chroot()"); in verify_chroot()
|
D | chroot01.c | 23 TST_EXP_FAIL(chroot(path), EPERM, "unprivileged chroot()"); in verify_chroot()
|
/third_party/ltp/testcases/kernel/syscalls/epoll_create1/ |
D | epoll_create1_02.c | 31 TST_EXP_FAIL(tst_syscall(__NR_epoll_create1, tc[n].flags), in run()
|
/third_party/ltp/testcases/kernel/syscalls/epoll_create/ |
D | epoll_create02.c | 32 TST_EXP_FAIL(do_epoll_create(tc[n].size), in run()
|
/third_party/ltp/testcases/kernel/syscalls/sched_getscheduler/ |
D | sched_getscheduler02.c | 32 TST_EXP_FAIL(tv->sched_getscheduler(unused_pid), ESRCH, in run()
|
/third_party/ltp/testcases/kernel/syscalls/setgid/ |
D | setgid02.c | 30 TST_EXP_FAIL(SETGID(rootpwent->pw_gid), EPERM); in run()
|