Searched refs:getenv_with_default (Results 1 – 12 of 12) sorted by relevance
/freebsd/contrib/kyua/utils/ |
H A D | env_test.cpp | 90 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 D | env.hpp | 50 std::string getenv_with_default(const std::string&, const std::string&);
|
H A D | env.cpp | 105 utils::getenv_with_default(const std::string& name, in getenv_with_default() function in utils
|
/freebsd/contrib/kyua/utils/process/ |
H A D | isolation_test.cpp | 114 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 D | cmd_about.cpp | 123 const fs::path docdir(utils::getenv_with_default( in run()
|
H A D | config.cpp | 119 const fs::path confdir(utils::getenv_with_default( in load_config_file()
|
H A D | cmd_report_html.cpp | 255 const fs::path miscdir(utils::getenv_with_default( in generate()
|
/freebsd/contrib/kyua/store/ |
H A D | write_backend.cpp | 92 return fs::path(utils::getenv_with_default("KYUA_STOREDIR", KYUA_STOREDIR)) in schema_file()
|
H A D | migrate.cpp | 226 return fs::path(utils::getenv_with_default("KYUA_STOREDIR", KYUA_STOREDIR)) in migration_file()
|
H A D | schema_inttest.cpp | 73 const fs::path testdatadir(utils::getenv_with_default( in testdata_file()
|
/freebsd/contrib/kyua/examples/ |
H A D | syntax_test.cpp | 70 const fs::path examplesdir(utils::getenv_with_default( in example_file()
|
/freebsd/contrib/kyua/utils/fs/ |
H A D | operations.cpp | 551 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()
|