Lines Matching refs:utils

56 namespace cmdline = utils::cmdline;
57 namespace config = utils::config;
58 namespace datetime = utils::datetime;
59 namespace fs = utils::fs;
60 namespace logging = utils::logging;
61 namespace process = utils::process;
86 utils::abort_without_coredump(); in run()
169 utils::setenv("HOME", "/home//fake"); in ATF_TEST_CASE_BODY()
170 utils::setenv("TMPDIR", "/do/not/use/this"); in ATF_TEST_CASE_BODY()
183 utils::unsetenv("HOME"); in ATF_TEST_CASE_BODY()
184 utils::setenv("TMPDIR", "/a/b//c"); in ATF_TEST_CASE_BODY()
196 utils::unsetenv("HOME"); in ATF_TEST_CASE_BODY()
197 utils::unsetenv("TMPDIR"); in ATF_TEST_CASE_BODY()
215 ATF_REQUIRE(atf::utils::grep_collection("Usage error: No command provided", in ATF_TEST_CASE_BODY()
217 ATF_REQUIRE(atf::utils::grep_collection("Type.*progname help", in ATF_TEST_CASE_BODY()
234 ATF_REQUIRE(atf::utils::grep_collection("Usage error: Unknown command.*foo", in ATF_TEST_CASE_BODY()
236 ATF_REQUIRE(atf::utils::grep_collection("Type.*progname help", in ATF_TEST_CASE_BODY()
295 ATF_REQUIRE(!atf::utils::grep_file("Mock debug message", "test.log")); in ATF_TEST_CASE_BODY()
296 ATF_REQUIRE(atf::utils::grep_file("Mock error message", "test.log")); in ATF_TEST_CASE_BODY()
297 ATF_REQUIRE(atf::utils::grep_file("Mock info message", "test.log")); in ATF_TEST_CASE_BODY()
298 ATF_REQUIRE(atf::utils::grep_file("Mock warning message", "test.log")); in ATF_TEST_CASE_BODY()
319 ATF_REQUIRE(atf::utils::grep_file("Mock debug message", "test.log")); in ATF_TEST_CASE_BODY()
320 ATF_REQUIRE(atf::utils::grep_file("Mock error message", "test.log")); in ATF_TEST_CASE_BODY()
321 ATF_REQUIRE(atf::utils::grep_file("Mock info message", "test.log")); in ATF_TEST_CASE_BODY()
322 ATF_REQUIRE(atf::utils::grep_file("Mock warning message", "test.log")); in ATF_TEST_CASE_BODY()
343 ATF_REQUIRE(!atf::utils::grep_file("Mock debug message", "test.log")); in ATF_TEST_CASE_BODY()
344 ATF_REQUIRE(atf::utils::grep_file("Mock error message", "test.log")); in ATF_TEST_CASE_BODY()
345 ATF_REQUIRE(!atf::utils::grep_file("Mock info message", "test.log")); in ATF_TEST_CASE_BODY()
346 ATF_REQUIRE(atf::utils::grep_file("Mock warning message", "test.log")); in ATF_TEST_CASE_BODY()
362 ATF_REQUIRE(atf::utils::grep_collection("Usage error.*i-am-invalid", in ATF_TEST_CASE_BODY()
402 ATF_REQUIRE(atf::utils::grep_collection( in ATF_TEST_CASE_BODY()
405 ATF_REQUIRE(atf::utils::grep_collection("Type.*progname help", in ATF_TEST_CASE_BODY()
423 ATF_REQUIRE(atf::utils::grep_collection("progname: E: Runtime error.", in ATF_TEST_CASE_BODY()
466 ATF_REQUIRE(atf::utils::grep_file("Fatal signal", "stderr.txt")); in ATF_TEST_CASE_BODY()