/third_party/ltp/testcases/kernel/syscalls/memfd_create/ |
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_(file, lineno, TFAIL, in check_mmap_fail() [all …]
|
/third_party/ltp/lib/ |
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_(file, lineno, TFAIL, "%s %s != '%s' got '%s'", path, prefix, val, sys_val); in tst_assert_file_str()
|
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_()
|
D | tst_fs_setup.c | 42 tst_res_(file, lineno, TINFO, in mount_overlay()
|
D | tst_res.c | 531 tst_res_(file, lineno, ttype, "%s", tmesg); in tst_resm_() 551 res_func = tst_res_; in tst_resm_hexd_()
|
D | tst_test.c | 258 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
|
D | tst_safe_macros.c | 360 tst_res_(file, lineno, TINFO, in safe_getgrnam_fallback()
|
/third_party/ltp/testcases/lib/ |
D | tst_net.sh | 94 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/ |
D | tst_test_macros.h | 42 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__);
|
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/include/old/ |
D | ltp_priv.h | 53 void tst_res_(const char *file, const int lineno, int ttype,
|
/third_party/ltp/testcases/kernel/containers/netns/ |
D | netns_helper.sh | 140 …tst_res_ TINFO "ping6 binary/symlink is missing, using workaround. Please, report missing ping6 to…
|
/third_party/ltp/testcases/kernel/syscalls/fanotify/ |
D | fanotify.h | 389 fanotify_init_flags_err_msg(#flags, __FILE__, __LINE__, tst_res_, (fail))
|