Home
last modified time | relevance | path

Searched refs:tst_res_ (Results 1 - 19 of 19) sorted by relevance

/third_party/ltp/lib/
H A 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_(fil in tst_assert_file_str()
[all...]
H A 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_()
H A Dtst_fs_setup.c42 tst_res_(file, lineno, TINFO, in mount_overlay()
H A Dtst_status.c64 tst_res_(file, lineno, TFAIL, "Child %d: %s", pid, in tst_validate_children_()
H A Dtst_sys_conf.c27 tst_res_(__FILE__, lineno, TINFO | TERRNO, err, path); in print_error()
H A Dtst_res.c540 tst_res_(file, lineno, ttype, "%s", tmesg); in tst_resm_()
560 res_func = tst_res_; in tst_resm_hexd_()
H A Dtst_test.c264 tst_res_(file, lineno, TWARN, in print_result()
272 tst_res_(file, lineno, TWARN, in print_result()
350 void tst_res_(const char *file, const int lineno, int ttype, in tst_res_() function
H A Dtst_safe_macros.c399 tst_res_(file, lineno, TINFO, in safe_getgrnam_fallback()
/third_party/ltp/testcases/kernel/syscalls/memfd_create/
H A 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_(fil in check_mmap_fail()
[all...]
/third_party/ltp/testcases/lib/
H A Dtst_net.sh77 tst_res_() function
105 tst_res_ TINFO "IPv6 disabled on $type via kernel command line or not compiled in"
116 tst_res_ TINFO "IPv6 disabled on $type net.ipv6.conf.all.disable_ipv6=1"
143 tst_res_ TINFO "IPv6 disabled on $type on $iface"
188 tst_res_ TINFO "using not default LTP netns: '$LTP_NETNS'"
240 tst_res_ TWARN "tst_rhost_run: command not defined"
256 tst_res_ TINFO "tst_rhost_run: cmd: $cmd"
257 tst_res_ TINFO "$use: $rcmd \"$sh_cmd\" $out 2>&1"
313 tst_res_ TWARN "tst_net_run: command not defined"
323 [ $lret -ne 0 ] && tst_res_ TWAR
[all...]
/third_party/ltp/include/
H A Dtst_test_macros.h43 tst_res_(__FILE__, __LINE__, RES, \
47 tst_res_(__FILE__, __LINE__, RES, \
51 tst_res_(__FILE__, __LINE__, RES, \
238 tst_res_(__FILE__, __LINE__, (EXPR) ? TPASS : TFAIL, "Expect: " FMT, ##__VA_ARGS__);
244 tst_res_(__FILE__, __LINE__, TPASS, \
247 tst_res_(__FILE__, __LINE__, TFAIL, \
H A 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/testcases/kernel/kvm/include/
H A Dkvm_guest.h59 void tst_res_(const char *file, const int lineno, int result,
61 #define tst_res(result, msg) tst_res_(__FILE__, __LINE__, (result), (msg))
/third_party/ltp/testcases/kernel/kvm/
H A Dlib_guest.c141 void tst_res_(const char *file, const int lineno, int result, in tst_res_() function
154 tst_res_(file, lineno, result, message); in tst_brk_()
H A Dlib_host.c124 tst_res_(file, result->lineno, ttype, "%s", result->message); in tst_kvm_print_result()
/third_party/ltp/testcases/kernel/mem/hugetlb/hugemmap/
H A Dhugemmap10.c101 tst_res_(__FILE__, line, TFAIL, "While %s: Bad "MEMINFO_HPAGE_TOTAL in verify_counters()
106 tst_res_(__FILE__, line, TFAIL, "While %s: Bad "MEMINFO_HPAGE_FREE in verify_counters()
111 tst_res_(__FILE__, line, TFAIL, "While %s: Bad "MEMINFO_HPAGE_RSVD in verify_counters()
116 tst_res_(__FILE__, line, TFAIL, "While %s: Bad "MEMINFO_HPAGE_SURP in verify_counters()
/third_party/ltp/include/old/
H A Dltp_priv.h53 void tst_res_(const char *file, const int lineno, int ttype,
/third_party/ltp/testcases/kernel/containers/netns/
H A Dnetns_helper.sh140 tst_res_ TINFO "ping6 binary/symlink is missing, using workaround. Please, report missing ping6 to your distribution."
/third_party/ltp/testcases/kernel/syscalls/fanotify/
H A Dfanotify.h236 fanotify_init_flags_err_msg(#flags, __FILE__, __LINE__, tst_res_, (fail))

Completed in 11 milliseconds