Searched refs:TST_EXP_VAL (Results 1 – 21 of 21) sorted by relevance
/third_party/ltp/lib/newlib_tests/ |
D | test_macros06.c | 26 TST_EXP_VAL(fail_val(), 40, "fail_val()"); in do_test() 28 TST_EXP_VAL(pass_val(), 42, "pass_val()"); in do_test()
|
D | test_macros05.c | 29 TST_EXP_VAL(MACRO_FAIL(), -2); in do_test()
|
/third_party/ltp/testcases/kernel/syscalls/setfsuid/ |
D | setfsuid01.c | 37 TST_EXP_VAL(SETFSUID(nobody_uid), uid, "setfsuid(%d)", nobody_uid); in run() 38 TST_EXP_VAL(SETFSUID(-1), nobody_uid); in run()
|
D | setfsuid02.c | 29 TST_EXP_VAL(SETFSUID(invalid_uid), (long)current_uid, in run()
|
D | setfsuid03.c | 40 TST_EXP_VAL(SETFSUID(-1), ruid, "setfsuid(fsuid) by non-root user:"); in run()
|
/third_party/ltp/testcases/kernel/syscalls/setfsgid/ |
D | setfsgid01.c | 39 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/ |
D | cgroup_core03.c | 99 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/ |
D | getpagesize01.c | 26 TST_EXP_VAL(getpagesize(), pagesize_sysconf); in run()
|
/third_party/ltp/testcases/kernel/syscalls/alarm/ |
D | alarm03.c | 30 TST_EXP_VAL(alarm(0), 100, "alarm(0) in parent process"); in verify_alarm()
|
D | alarm06.c | 35 TST_EXP_VAL(alarm(0), 1); in verify_alarm()
|
D | alarm05.c | 30 TST_EXP_VAL(alarm(1), 9); in run()
|
D | alarm02.c | 38 TST_EXP_VAL(alarm(0), tc->sec); in verify_alarm()
|
/third_party/ltp/testcases/kernel/syscalls/setgroups/ |
D | setgroups02.c | 28 TST_EXP_VAL(GETGROUPS(1, groups_get), 1); in verify_setgroups()
|
/third_party/ltp/testcases/kernel/syscalls/clone/ |
D | clone05.c | 48 TST_EXP_VAL(child_exited, 1); in verify_clone()
|
D | clone03.c | 38 TST_EXP_VAL(TST_RET, *child_pid, "pid(%d)", *child_pid); in verify_clone()
|
/third_party/ltp/testcases/kernel/syscalls/pipe/ |
D | pipe14.c | 31 TST_EXP_VAL(SAFE_READ(0, fds[0], rdbuf, 1), 0); in run()
|
/third_party/ltp/testcases/kernel/syscalls/sched_get_priority_max/ |
D | sched_get_priority_max01.c | 42 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/ |
D | sched_get_priority_min01.c | 42 TST_EXP_VAL(tst_syscall(__NR_sched_get_priority_min, tc->policy), in run_test()
|
/third_party/ltp/testcases/kernel/syscalls/dup2/ |
D | dup204.c | 38 TST_EXP_VAL(dup2(fd[i], nfd[i]), nfd[i]); in run()
|
/third_party/ltp/testcases/kernel/syscalls/mq_notify/ |
D | mq_notify03.c | 38 TST_EXP_VAL((size_t) mq_receive(m, buf, sizeof(buf), NULL), in try_null_dereference_cb()
|
/third_party/ltp/include/ |
D | tst_test_macros.h | 148 #define TST_EXP_VAL(SCALL, VAL, ...) \ macro
|