/third_party/ltp/lib/ |
H A D | tst_assert.c | 19 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 D | tst_uid.c | 27 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 D | tst_fs_setup.c | 42 tst_res_(file, lineno, TINFO, in mount_overlay()
|
H A D | tst_status.c | 64 tst_res_(file, lineno, TFAIL, "Child %d: %s", pid, in tst_validate_children_()
|
H A D | tst_sys_conf.c | 27 tst_res_(__FILE__, lineno, TINFO | TERRNO, err, path); in print_error()
|
H A D | tst_res.c | 540 tst_res_(file, lineno, ttype, "%s", tmesg); in tst_resm_() 560 res_func = tst_res_; in tst_resm_hexd_()
|
H A D | tst_test.c | 264 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 D | tst_safe_macros.c | 399 tst_res_(file, lineno, TINFO, in safe_getgrnam_fallback()
|
/third_party/ltp/testcases/kernel/syscalls/memfd_create/ |
H A D | memfd_create_common.c | 44 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 D | tst_net.sh | 77 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 D | tst_test_macros.h | 43 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 D | tst_test.h | 51 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 D | kvm_guest.h | 59 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 D | lib_guest.c | 141 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 D | lib_host.c | 124 tst_res_(file, result->lineno, ttype, "%s", result->message); in tst_kvm_print_result()
|
/third_party/ltp/testcases/kernel/mem/hugetlb/hugemmap/ |
H A D | hugemmap10.c | 101 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 D | ltp_priv.h | 53 void tst_res_(const char *file, const int lineno, int ttype,
|
/third_party/ltp/testcases/kernel/containers/netns/ |
H A D | netns_helper.sh | 140 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 D | fanotify.h | 236 fanotify_init_flags_err_msg(#flags, __FILE__, __LINE__, tst_res_, (fail))
|