Lines Matching refs:atf
35 #include "atf-c++/detail/application.hpp"
36 #include "atf-c++/detail/env.hpp"
37 #include "atf-c++/detail/fs.hpp"
38 #include "atf-c++/detail/sanity.hpp"
50 const atf::fs::path filepath(filename);
61 const std::string libexecdir = atf::env::get(
63 const std::string pkgdatadir = atf::env::get(
65 const std::string shell = atf::env::get("ATF_SHELL", ATF_SHELL);
69 (*command) += ("Atf_Check='" + libexecdir + "/atf-check' ; " +
108 class atf_sh : public atf::application::app {
111 atf::fs::path m_shell;
123 "atf-sh is a shell interpreter that extends the functionality of the "
124 "system sh(1) with the atf-sh library.";
127 app(m_description, "atf-sh(1)"),
128 m_shell(atf::fs::path(atf::env::get("ATF_SHELL", ATF_SHELL)))
136 using atf::application::option;
139 INV(m_shell == atf::fs::path(atf::env::get("ATF_SHELL", ATF_SHELL)));
151 m_shell = atf::fs::path(arg);
163 throw atf::application::usage_error("No test program provided");
165 const atf::fs::path script(m_argv[0]);
166 if (!atf::fs::exists(script))