Home
last modified time | relevance | path

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

/freebsd/contrib/kyua/utils/
H A Denv_test.cpp90 ATF_TEST_CASE_WITHOUT_HEAD(getenv_with_default);
91 ATF_TEST_CASE_BODY(getenv_with_default) in ATF_TEST_CASE_BODY() argument
94 utils::getenv_with_default("PATH", "don't use")); in ATF_TEST_CASE_BODY()
97 utils::getenv_with_default("__UNDEFINED_VARIABLE__", "foo")); in ATF_TEST_CASE_BODY()
158 ATF_ADD_TEST_CASE(tcs, getenv_with_default); in ATF_INIT_TEST_CASES()
H A Denv.hpp50 std::string getenv_with_default(const std::string&, const std::string&);
H A Denv.cpp105 utils::getenv_with_default(const std::string& name, in getenv_with_default() function in utils
/freebsd/contrib/kyua/utils/process/
H A Disolation_test.cpp114 if (utils::getenv_with_default("HOME", "") != "some-directory") { in check_clean_environment()
119 if (utils::getenv_with_default("TMPDIR", "") != "some-directory") { in check_clean_environment()
124 if (utils::getenv_with_default("TZ", "") != "UTC") { in check_clean_environment()
129 if (utils::getenv_with_default("LEAVE_ME_ALONE", "") != "kill-some-day") { in check_clean_environment()
/freebsd/contrib/kyua/cli/
H A Dcmd_about.cpp123 const fs::path docdir(utils::getenv_with_default( in run()
H A Dconfig.cpp119 const fs::path confdir(utils::getenv_with_default( in load_config_file()
H A Dcmd_report_html.cpp255 const fs::path miscdir(utils::getenv_with_default( in generate()
/freebsd/contrib/kyua/store/
H A Dwrite_backend.cpp92 return fs::path(utils::getenv_with_default("KYUA_STOREDIR", KYUA_STOREDIR)) in schema_file()
H A Dmigrate.cpp226 return fs::path(utils::getenv_with_default("KYUA_STOREDIR", KYUA_STOREDIR)) in migration_file()
H A Dschema_inttest.cpp73 const fs::path testdatadir(utils::getenv_with_default( in testdata_file()
/freebsd/contrib/kyua/examples/
H A Dsyntax_test.cpp70 const fs::path examplesdir(utils::getenv_with_default( in example_file()
/freebsd/contrib/kyua/utils/fs/
H A Doperations.cpp551 const fs::path tmpdir(utils::getenv_with_default("TMPDIR", "/tmp")); in mkdtemp_public()
603 const fs::path tmpdir(utils::getenv_with_default("TMPDIR", "/tmp")); in mkstemp()