Home
last modified time | relevance | path

Searched refs:TST_EXP_VAL (Results 1 – 21 of 21) sorted by relevance

/third_party/ltp/lib/newlib_tests/
Dtest_macros06.c26 TST_EXP_VAL(fail_val(), 40, "fail_val()"); in do_test()
28 TST_EXP_VAL(pass_val(), 42, "pass_val()"); in do_test()
Dtest_macros05.c29 TST_EXP_VAL(MACRO_FAIL(), -2); in do_test()
/third_party/ltp/testcases/kernel/syscalls/setfsuid/
Dsetfsuid01.c37 TST_EXP_VAL(SETFSUID(nobody_uid), uid, "setfsuid(%d)", nobody_uid); in run()
38 TST_EXP_VAL(SETFSUID(-1), nobody_uid); in run()
Dsetfsuid02.c29 TST_EXP_VAL(SETFSUID(invalid_uid), (long)current_uid, in run()
Dsetfsuid03.c40 TST_EXP_VAL(SETFSUID(-1), ruid, "setfsuid(fsuid) by non-root user:"); in run()
/third_party/ltp/testcases/kernel/syscalls/setfsgid/
Dsetfsgid01.c39 TST_EXP_VAL(SETFSGID(nobody_gid), gid); in run()
40 TST_EXP_VAL(SETFSGID(-1), nobody_gid); in run()
/third_party/ltp/testcases/kernel/controllers/cgroup/
Dcgroup_core03.c99 TST_EXP_VAL(cg_count_procs(cg_child_test_simple), PID_NUM); in run()
105 TST_EXP_VAL(cg_count_procs(cg_child_test_simple), 0); in run()
/third_party/ltp/testcases/kernel/syscalls/getpagesize/
Dgetpagesize01.c26 TST_EXP_VAL(getpagesize(), pagesize_sysconf); in run()
/third_party/ltp/testcases/kernel/syscalls/alarm/
Dalarm03.c30 TST_EXP_VAL(alarm(0), 100, "alarm(0) in parent process"); in verify_alarm()
Dalarm06.c35 TST_EXP_VAL(alarm(0), 1); in verify_alarm()
Dalarm05.c30 TST_EXP_VAL(alarm(1), 9); in run()
Dalarm02.c38 TST_EXP_VAL(alarm(0), tc->sec); in verify_alarm()
/third_party/ltp/testcases/kernel/syscalls/setgroups/
Dsetgroups02.c28 TST_EXP_VAL(GETGROUPS(1, groups_get), 1); in verify_setgroups()
/third_party/ltp/testcases/kernel/syscalls/clone/
Dclone05.c48 TST_EXP_VAL(child_exited, 1); in verify_clone()
Dclone03.c38 TST_EXP_VAL(TST_RET, *child_pid, "pid(%d)", *child_pid); in verify_clone()
/third_party/ltp/testcases/kernel/syscalls/pipe/
Dpipe14.c31 TST_EXP_VAL(SAFE_READ(0, fds[0], rdbuf, 1), 0); in run()
/third_party/ltp/testcases/kernel/syscalls/sched_get_priority_max/
Dsched_get_priority_max01.c42 TST_EXP_VAL(tst_syscall(__NR_sched_get_priority_max, tc->policy), in run_test()
/third_party/ltp/testcases/kernel/syscalls/sched_get_priority_min/
Dsched_get_priority_min01.c42 TST_EXP_VAL(tst_syscall(__NR_sched_get_priority_min, tc->policy), in run_test()
/third_party/ltp/testcases/kernel/syscalls/dup2/
Ddup204.c38 TST_EXP_VAL(dup2(fd[i], nfd[i]), nfd[i]); in run()
/third_party/ltp/testcases/kernel/syscalls/mq_notify/
Dmq_notify03.c38 TST_EXP_VAL((size_t) mq_receive(m, buf, sizeof(buf), NULL), in try_null_dereference_cb()
/third_party/ltp/include/
Dtst_test_macros.h148 #define TST_EXP_VAL(SCALL, VAL, ...) \ macro