Home
last modified time | relevance | path

Searched refs:tst_res_ (Results 1 – 13 of 13) sorted by relevance

/third_party/ltp/testcases/kernel/syscalls/memfd_create/
Dmemfd_create_common.c44 tst_res_(filename, lineno, TPASS, in check_fallocate()
58 tst_res_(filename, lineno, TFAIL, in check_fallocate_fail()
65 tst_res_(filename, lineno, TPASS | TERRNO, in check_fallocate_fail()
77 tst_res_(filename, lineno, TPASS, "ftruncate(%d, %ld) succeeded", fd, in check_ftruncate()
85 tst_res_(filename, lineno, TFAIL, in check_ftruncate_fail()
92 tst_res_(filename, lineno, TPASS | TERRNO, in check_ftruncate_fail()
147 tst_res_(filename, lineno, TPASS, "memfd_create(%s, %d) succeeded", in check_mfd_new()
168 tst_res_(filename, lineno, TPASS | TERRNO, in check_mfd_fail_new()
179 tst_res_(file, lineno, TPASS, in check_mmap()
191 tst_res_(file, lineno, TFAIL, in check_mmap_fail()
[all …]
/third_party/ltp/lib/
Dtst_assert.c19 tst_res_(file, lineno, TPASS, "%s = %d", path, val); in tst_assert_int()
23 tst_res_(file, lineno, TFAIL, "%s != %d got %d", path, val, sys_val); in tst_assert_int()
33 tst_res_(file, lineno, TPASS, "%s = %lu", path, val); in tst_assert_ulong()
37 tst_res_(file, lineno, TFAIL, "%s != %lu got %lu", path, val, sys_val); in tst_assert_ulong()
49 tst_res_(file, lineno, TPASS, "%s %s = %d", path, prefix, sys_val); in tst_assert_file_int()
53 tst_res_(file, lineno, TFAIL, "%s %s != %d got %d", path, prefix, val, sys_val); in tst_assert_file_int()
62 tst_res_(file, lineno, TPASS, "%s = '%s'", path, val); in tst_assert_str()
66 tst_res_(file, lineno, TFAIL, "%s != '%s' got '%s'", path, val, sys_val); in tst_assert_str()
78 tst_res_(file, lineno, TPASS, "%s %s = '%s'", path, prefix, sys_val); in tst_assert_file_str()
82 tst_res_(file, lineno, TFAIL, "%s %s != '%s' got '%s'", path, prefix, val, sys_val); in tst_assert_file_str()
Dtst_uid.c27 tst_res_(file, lineno, TINFO | TERRNO, in tst_get_free_gid_()
83 tst_res_(file, lineno, TFAIL, "Unexpected process UID after %s", in tst_check_resuid_()
86 tst_res_(file, lineno, TFAIL, "Unexpected process UID"); in tst_check_resuid_()
89 tst_res_(file, lineno, TINFO, "Got: ruid = %d, euid = %d, suid = %d", in tst_check_resuid_()
91 tst_res_(file, lineno, TINFO, in tst_check_resuid_()
108 tst_res_(file, lineno, TFAIL, "Unexpected process GID after %s", in tst_check_resgid_()
111 tst_res_(file, lineno, TFAIL, "Unexpected process GID"); in tst_check_resgid_()
114 tst_res_(file, lineno, TINFO, "Got: rgid = %d, egid = %d, sgid = %d", in tst_check_resgid_()
116 tst_res_(file, lineno, TINFO, in tst_check_resgid_()
Dtst_fs_setup.c42 tst_res_(file, lineno, TINFO, in mount_overlay()
Dtst_res.c531 tst_res_(file, lineno, ttype, "%s", tmesg); in tst_resm_()
551 res_func = tst_res_; in tst_resm_hexd_()
Dtst_test.c258 tst_res_(file, lineno, TWARN, in print_result()
266 tst_res_(file, lineno, TWARN, in print_result()
344 void tst_res_(const char *file, const int lineno, int ttype, in tst_res_() function
Dtst_safe_macros.c360 tst_res_(file, lineno, TINFO, in safe_getgrnam_fallback()
/third_party/ltp/testcases/lib/
Dtst_net.sh94 tst_res_() function
121 tst_res_ TINFO "using not default LTP netns: '$LTP_NETNS'"
175 tst_res_ TWARN "tst_rhost_run: command not defined"
191 tst_res_ TINFO "tst_rhost_run: cmd: $cmd"
192 tst_res_ TINFO "$use: $rcmd \"$sh_cmd\" $out 2>&1"
248 tst_res_ TWARN "tst_net_run: command not defined"
258 [ $lret -ne 0 ] && tst_res_ TWARN "tst_net_run: lhost command failed: $lret"
259 [ $rret -ne 0 ] && tst_res_ TWARN "tst_net_run: rhost command failed: $rret"
272 tst_res_ TPASS "$* passed as expected"
274 tst_res_ TFAIL "$* failed unexpectedly"
[all …]
/third_party/ltp/include/
Dtst_test_macros.h42 tst_res_(__FILE__, __LINE__, RES, \
46 tst_res_(__FILE__, __LINE__, RES, \
50 tst_res_(__FILE__, __LINE__, RES, \
199 tst_res_(__FILE__, __LINE__, (EXPR) ? TPASS : TFAIL, "Expect: " FMT, ##__VA_ARGS__);
Dtst_test.h51 void tst_res_(const char *file, const int lineno, int ttype,
59 tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
/third_party/ltp/include/old/
Dltp_priv.h53 void tst_res_(const char *file, const int lineno, int ttype,
/third_party/ltp/testcases/kernel/containers/netns/
Dnetns_helper.sh140tst_res_ TINFO "ping6 binary/symlink is missing, using workaround. Please, report missing ping6 to…
/third_party/ltp/testcases/kernel/syscalls/fanotify/
Dfanotify.h389 fanotify_init_flags_err_msg(#flags, __FILE__, __LINE__, tst_res_, (fail))