Searched refs:fs (Results 1 - 25 of 31) sorted by relevance

12

/bind-9.6-ESV-R11/unit/atf-src/atf-run/
H A Dfs.hpp35 #include "atf-c++/detail/fs.hpp"
41 std::auto_ptr< atf::fs::path > m_path;
44 temp_dir(const atf::fs::path&);
47 const atf::fs::path& get_path(void) const;
50 atf::fs::path change_directory(const atf::fs::path&);
51 void cleanup(const atf::fs::path&);
52 atf::fs::path get_current_dir(void);
H A Dfs_test.cpp41 #include "atf-c++/detail/fs.hpp"
43 #include "fs.hpp"
71 atf::fs::path t1("non-existent");
72 atf::fs::path t2("non-existent");
75 atf::fs::path tmpl("testdir.XXXXXX");
83 ATF_REQUIRE(!atf::fs::exists(tmpl));
84 ATF_REQUIRE( atf::fs::exists(t1));
85 ATF_REQUIRE( atf::fs::exists(t2));
87 atf::fs::file_info fi1(t1);
98 atf::fs
[all...]
H A Dfs.cpp51 #include "fs.hpp"
61 static void cleanup_aux(const atf::fs::path&, dev_t, bool);
62 static void cleanup_aux_dir(const atf::fs::path&, const atf::fs::file_info&,
64 static void do_unmount(const atf::fs::path&);
86 cleanup_aux(const atf::fs::path& p, dev_t parent_device, bool erase)
89 atf::fs::file_info fi(p);
91 if (fi.get_type() == atf::fs::file_info::dir_type)
98 if (fi.get_type() == atf::fs::file_info::dir_type)
99 atf::fs
[all...]
H A Datf-run.cpp57 #include "atf-c++/detail/fs.hpp"
65 #include "fs.hpp"
94 int run_test(const atf::fs::path&, impl::atf_tps_writer&,
96 int run_test_directory(const atf::fs::path&, impl::atf_tps_writer&);
97 int run_test_program(const atf::fs::path&, impl::atf_tps_writer&,
101 const atf::process::status&, const atf::fs::path&) const;
122 dump_stacktrace(const atf::fs::path& tp, const atf::process::status& s,
123 const atf::fs::path& workdir, impl::atf_tps_writer& w)
129 const atf::fs::path corename = workdir /
131 if (!atf::fs
[all...]
H A DMakefile.am.inc37 atf-run/fs.cpp \
38 atf-run/fs.hpp \
81 atf-run/fs.cpp \
115 atf-run/fs.cpp \
H A Dtest-program.hpp34 #include "atf-c++/detail/fs.hpp"
142 metadata get_metadata(const atf::fs::path&, const atf::tests::vars_map&);
143 test_case_result read_test_case_result(const atf::fs::path&);
145 const atf::fs::path&, const std::string&, const std::string&,
147 const atf::fs::path&, const atf::fs::path&, atf_tps_writer&);
H A Drequirements.cpp45 #include "atf-c++/detail/fs.hpp"
59 has_program(const atf::fs::path& program)
64 found = atf::fs::is_executable(program);
75 const atf::fs::path& p = atf::fs::path(*iter) / program;
76 if (atf::fs::is_executable(p))
123 const atf::fs::path file(*iter);
127 if (!atf::fs::exists(file))
218 if (!has_program(atf::fs::path(*iter)))
H A Dconfig.cpp38 #include "atf-c++/detail/fs.hpp"
107 merge_config_file(const atf::fs::path& config_path,
119 std::vector< atf::fs::path >
122 std::vector< atf::fs::path > dirs;
123 dirs.push_back(atf::fs::path(atf::config::get("atf_confdir")));
125 dirs.push_back(atf::fs::path(atf::env::get("HOME")) / ".atf");
216 const std::vector< atf::fs::path > dirs = get_config_dirs();
217 for (std::vector< atf::fs::path >::const_iterator iter = dirs.begin();
H A Dmisc_helpers.cpp47 #include "atf-c++/detail/fs.hpp"
155 atf::process::exec(atf::fs::path("env"),
171 atf::fs::path p(atf::env::get("HOME"));
172 atf::fs::file_info fi1(p);
173 atf::fs::file_info fi2(atf::fs::path("."));
228 atf::fs::remove(atf::fs::path(get_config_var("statedir") + "/to-delete"));
363 set_md_var("use.fs", "this-is-deprecated");
H A Datffile.cpp201 const atf::fs::directory& m_dir;
218 throw atf::not_found_error< atf::fs::path >
220 atf::fs::path(name));
238 reader(std::istream& is, const atf::fs::directory& dir) :
308 impl::read_atffile(const atf::fs::path& filename)
312 fs::directory dir(filename.branch_path());
314 fs::directory::iterator iter = dir.begin();
317 const fs::file_info& fi = (*iter).second;
331 throw atf::not_found_error< fs::path >
H A Datffile.hpp38 #include "atf-c++/detail/fs.hpp"
90 atffile read_atffile(const fs::path&);
H A Dtest_program_test.cpp51 atf::fs::path
54 return atf::fs::path(tc.get_config_var("srcdir")) / name;
761 const atf::fs::path executable = get_helper(*this, "bad_metadata_helper");
769 const atf::fs::path executable = get_helper(*this, "zero_tcs_helper");
777 const atf::fs::path executable = get_helper(*this, "several_tcs_helper");
928 atf::fs::path("resfile"));
937 atf::fs::path("resfile"));
947 impl::read_test_case_result(atf::fs::path("resfile")));
954 impl::read_test_case_result(atf::fs::path("resfile")));
961 impl::read_test_case_result(atf::fs
[all...]
H A Dtest-program.cpp55 #include "fs.hpp"
135 const atf::fs::path& executable;
138 get_metadata_params(const atf::fs::path& p_executable,
147 const atf::fs::path& executable;
152 const atf::fs::path& resfile;
153 const atf::fs::path& workdir;
155 test_case_params(const atf::fs::path& p_executable,
160 const atf::fs::path& p_resfile,
161 const atf::fs::path& p_workdir) :
214 exec_or_exit(const atf::fs
[all...]
/bind-9.6-ESV-R11/unit/atf-src/atf-c++/
H A Dmacros_test.cpp43 #include "detail/fs.hpp"
296 ATF_REQUIRE(atf::fs::exists(atf::fs::path("before")));
297 ATF_REQUIRE(!atf::fs::exists(atf::fs::path("after")));
310 ATF_REQUIRE(atf::fs::exists(atf::fs::path("before")));
311 ATF_REQUIRE(!atf::fs::exists(atf::fs::path("after")));
325 ATF_REQUIRE(atf::fs
[all...]
H A Dcheck_test.cpp50 #include "detail/fs.hpp"
256 std::auto_ptr< atf::fs::path > out;
257 std::auto_ptr< atf::fs::path > err;
262 out.reset(new atf::fs::path(r->stdout_path()));
263 err.reset(new atf::fs::path(r->stderr_path()));
264 ATF_REQUIRE(atf::fs::exists(*out.get()));
265 ATF_REQUIRE(atf::fs::exists(*err.get()));
267 ATF_REQUIRE(!atf::fs::exists(*out.get()));
268 ATF_REQUIRE(!atf::fs::exists(*err.get()));
/bind-9.6-ESV-R11/unit/atf-src/atf-c++/detail/
H A Dtest_helpers.cpp39 #include "fs.hpp"
44 build_check_cxx_o_aux(const atf::fs::path& sfile, const char* failmsg,
62 const atf::fs::path sfilepath =
63 atf::fs::path(tc.get_config_var("srcdir")) / sfile;
77 build_check_cxx_o_aux(atf::fs::path("test.c"), failmsg.c_str(), true);
80 atf::fs::path
83 return atf::fs::path(tc.get_config_var("srcdir")) /
H A Dfs_test.cpp42 #include "fs.hpp"
76 using atf::fs::path;
101 using atf::fs::path;
118 using atf::fs::path;
135 using atf::fs::path;
151 using atf::fs::path;
167 using atf::fs::path;
184 using atf::fs::path;
202 using atf::fs::path;
218 using atf::fs
[all...]
H A Dprocess.hpp46 #include "fs.hpp"
119 status exec(const atf::fs::path&, const argv_array&,
131 status exec(const atf::fs::path&, const argv_array&,
143 status exec(const atf::fs::path&, const argv_array&,
155 status exec(const atf::fs::path&, const argv_array&,
167 status exec(const atf::fs::path&, const argv_array&,
171 stream_redirect_path(const fs::path&);
183 status exec(const atf::fs::path&, const argv_array&,
250 exec(const atf::fs::path& prog, const argv_array& argv,
270 exec(const atf::fs
[all...]
H A DMakefile.am.inc39 atf-c++/detail/fs.cpp \
40 atf-c++/detail/fs.hpp \
H A Dtest_helpers.hpp89 atf::fs::path get_process_helpers_path(const atf::tests::tc&);
117 atf::process::stream_redirect_path(atf::fs::path("stdout")),
118 atf::process::stream_redirect_path(atf::fs::path("stderr")),
H A Dfs.hpp45 #include "../../atf-c/detail/fs.h"
54 namespace fs { namespace in namespace:atf
388 } // namespace fs
/bind-9.6-ESV-R11/unit/atf-src/atf-sh/
H A Datf-check.cpp56 #include "atf-c++/detail/fs.hpp"
111 std::auto_ptr< atf::fs::path > m_path;
115 temp_file(const atf::fs::path& p) :
128 m_path.reset(new atf::fs::path(buf.get()));
141 const atf::fs::path&
359 cat_file(const atf::fs::path& path)
375 grep_file(const atf::fs::path& path, const std::string& regexp)
396 file_empty(const atf::fs::path& p)
398 atf::fs::file_info f(p);
404 compare_files(const atf::fs
[all...]
H A Datf-sh.cpp42 #include "atf-c++/detail/fs.hpp"
55 const atf::fs::path filepath(filename);
135 const atf::fs::path script(m_argv[0]);
136 if (!atf::fs::exists(script))
/bind-9.6-ESV-R11/unit/atf-src/atf-c/detail/
H A DMakefile.am.inc34 atf-c/detail/fs.c \
35 atf-c/detail/fs.h \
/bind-9.6-ESV-R11/unit/atf-src/atf-report/
H A Datf-report.cpp47 #include "atf-c++/detail/fs.hpp"
57 open_outfile(const atf::fs::path& path)
131 csv_writer(const atf::fs::path& p) :
365 ticker_writer(const atf::fs::path& p) :
488 xml_writer(const atf::fs::path& p) :
601 add_output(const std::string& fmt, const atf::fs::path& p)
621 typedef std::pair< std::string, atf::fs::path > fmt_path_pair;
654 atf::fs::path path = atf::fs::path(str.substr(pos + 1));
684 m_oflags.push_back(fmt_path_pair("ticker", atf::fs
[all...]

Completed in 36 milliseconds

12