Home
last modified time | relevance | path

Searched refs:atf_fs_path_cstring (Results 1 – 12 of 12) sorted by relevance

/freebsd-src/contrib/atf/atf-c/detail/
H A Dfs_test.c74 return access(atf_fs_path_cstring(p), F_OK) == 0; in exists()
134 printf("Output : >%s<\n", atf_fs_path_cstring(&p)); in ATF_TC_BODY()
135 ATF_REQUIRE(strcmp(atf_fs_path_cstring(&p), t->out) == 0); in ATF_TC_BODY()
273 printf("Output : %s\n", atf_fs_path_cstring(&bp)); in ATF_TC_BODY()
274 ATF_REQUIRE(strcmp(atf_fs_path_cstring(&bp), t->branch) == 0); in ATF_TC_BODY()
354 printf("Output : >%s<\n", atf_fs_path_cstring(&p)); in ATF_TC_BODY()
355 ATF_REQUIRE(strcmp(atf_fs_path_cstring(&p), t->out) == 0); in ATF_TC_BODY()
382 printf("Relative path: %s\n", atf_fs_path_cstring(&p)); in ATF_TC_BODY()
385 printf("Absolute path: %s\n", atf_fs_path_cstring(&p2)); in ATF_TC_BODY()
575 create_dir(atf_fs_path_cstring(&pdir), 0755); in ATF_TC_BODY()
[all …]
H A Dfs.c111 strncpy(data.m_path, atf_fs_path_cstring(path), sizeof(data.m_path)); in invalid_umask_error()
411 atf_fs_path_cstring(const atf_fs_path_t *p) in atf_fs_path_cstring() function
549 const char *pstr = atf_fs_path_cstring(p); in atf_fs_stat_init()
700 if (lstat(atf_fs_path_cstring(p), &st) == -1) { in atf_fs_eaccess()
702 atf_fs_path_cstring(p)); in atf_fs_eaccess()
855 if (rmdir(atf_fs_path_cstring(p))) { in atf_fs_rmdir()
876 path = atf_fs_path_cstring(p); in atf_fs_unlink()
H A Dprocess.c349 int aux = open(atf_fs_path_cstring(sp->m_sb->m_path), in child_connect()
353 atf_fs_path_cstring(sp->m_sb->m_path)); in child_connect()
604 const int ret = const_execvp(atf_fs_path_cstring(ea->m_prog), ea->m_argv); in do_exec()
608 atf_fs_path_cstring(ea->m_prog), strerror(errnocopy)); in do_exec()
H A Dtp_main.c466 strdup(atf_fs_path_cstring(&srcdir)), true); in handle_srcdir()
469 "directory `%s'", atf_fs_path_cstring(&srcdir)); in handle_srcdir()
504 err = atf_tp_run(tp, p->m_tcname, atf_fs_path_cstring(&p->m_resfile)); in run_tc()
H A Dfs.h55 const char *atf_fs_path_cstring(const atf_fs_path_t *);
H A Dtest_helpers.c72 const bool result = build_check_c_o(atf_fs_path_cstring(&path)); in build_check_c_o_srcdir()
H A Dprocess_test.c878 argv[0] = atf_fs_path_cstring(&process_helpers); in do_exec()
926 atf_list_append(&argv, strdup(atf_fs_path_cstring(&process_helpers)), true); in ATF_TC_BODY()
/freebsd-src/contrib/atf/atf-c++/detail/
H A Dfs.cpp138 return atf_fs_path_cstring(&m_path); in c_str()
180 path p(atf_fs_path_cstring(&bp)); in branch_path()
211 path p(atf_fs_path_cstring(&pa)); in to_absolute()
266 atf_fs_path_cstring(&p.m_path)); in operator /()
277 const char *s1 = atf_fs_path_cstring(&m_path); in operator <()
278 const char *s2 = atf_fs_path_cstring(&p.m_path); in operator <()
/freebsd-src/contrib/atf/atf-c/
H A Dcheck_test.c55 argv[0] = atf_fs_path_cstring(&process_helpers); in do_exec()
74 argv[0] = atf_fs_path_cstring(&process_helpers); in do_exec_with_arg()
153 RE(atf_check_build_cpp("test.c", atf_fs_path_cstring(&test_p), NULL, in ATF_TC_BODY()
308 argv[0] = atf_fs_path_cstring(&process_helpers); in ATF_TC_BODY()
471 argv[0] = atf_fs_path_cstring(&process_helpers); in ATF_TC_BODY()
H A Dcheck.c315 atf_fs_path_cstring(dir)); in atf_check_result_init()
320 atf_fs_path_cstring(dir)); in atf_check_result_init()
356 return atf_fs_path_cstring(&r->pimpl->m_stdout); in atf_check_result_stdout()
362 return atf_fs_path_cstring(&r->pimpl->m_stderr); in atf_check_result_stderr()
H A Dmacros_test.c58 ATF_REQUIRE(open(atf_fs_path_cstring(&p), in create_ctl_file()
H A Dtc.c529 if (strcmp(atf_fs_path_cstring(&bp), ".") != 0) { in check_prog()