Lines Matching refs:utils
55 namespace cmdline = utils::cmdline;
56 namespace config = utils::config;
57 namespace datetime = utils::datetime;
58 namespace fs = utils::fs;
59 namespace logging = utils::logging;
60 namespace process = utils::process;
181 utils::setenv("HOME", "/home//fake"); in ATF_TEST_CASE_BODY()
182 utils::setenv("TMPDIR", "/do/not/use/this"); in ATF_TEST_CASE_BODY()
195 utils::unsetenv("HOME"); in ATF_TEST_CASE_BODY()
196 utils::setenv("TMPDIR", "/a/b//c"); in ATF_TEST_CASE_BODY()
208 utils::unsetenv("HOME"); in ATF_TEST_CASE_BODY()
209 utils::unsetenv("TMPDIR"); in ATF_TEST_CASE_BODY()
227 ATF_REQUIRE(atf::utils::grep_collection("Usage error: No command provided", in ATF_TEST_CASE_BODY()
229 ATF_REQUIRE(atf::utils::grep_collection("Type.*progname help", in ATF_TEST_CASE_BODY()
246 ATF_REQUIRE(atf::utils::grep_collection("Usage error: Unknown command.*foo", in ATF_TEST_CASE_BODY()
248 ATF_REQUIRE(atf::utils::grep_collection("Type.*progname help", in ATF_TEST_CASE_BODY()
307 ATF_REQUIRE(!atf::utils::grep_file("Mock debug message", "test.log")); in ATF_TEST_CASE_BODY()
308 ATF_REQUIRE(atf::utils::grep_file("Mock error message", "test.log")); in ATF_TEST_CASE_BODY()
309 ATF_REQUIRE(atf::utils::grep_file("Mock info message", "test.log")); in ATF_TEST_CASE_BODY()
310 ATF_REQUIRE(atf::utils::grep_file("Mock warning message", "test.log")); in ATF_TEST_CASE_BODY()
331 ATF_REQUIRE(atf::utils::grep_file("Mock debug message", "test.log")); in ATF_TEST_CASE_BODY()
332 ATF_REQUIRE(atf::utils::grep_file("Mock error message", "test.log")); in ATF_TEST_CASE_BODY()
333 ATF_REQUIRE(atf::utils::grep_file("Mock info message", "test.log")); in ATF_TEST_CASE_BODY()
334 ATF_REQUIRE(atf::utils::grep_file("Mock warning message", "test.log")); in ATF_TEST_CASE_BODY()
355 ATF_REQUIRE(!atf::utils::grep_file("Mock debug message", "test.log")); in ATF_TEST_CASE_BODY()
356 ATF_REQUIRE(atf::utils::grep_file("Mock error message", "test.log")); in ATF_TEST_CASE_BODY()
357 ATF_REQUIRE(!atf::utils::grep_file("Mock info message", "test.log")); in ATF_TEST_CASE_BODY()
358 ATF_REQUIRE(atf::utils::grep_file("Mock warning message", "test.log")); in ATF_TEST_CASE_BODY()
374 ATF_REQUIRE(atf::utils::grep_collection("Usage error.*i-am-invalid", in ATF_TEST_CASE_BODY()
414 ATF_REQUIRE(atf::utils::grep_collection( in ATF_TEST_CASE_BODY()
417 ATF_REQUIRE(atf::utils::grep_collection("Type.*progname help", in ATF_TEST_CASE_BODY()
435 ATF_REQUIRE(atf::utils::grep_collection("progname: E: Runtime error.", in ATF_TEST_CASE_BODY()
478 ATF_REQUIRE(atf::utils::grep_file("Fatal signal", "stderr.txt")); in ATF_TEST_CASE_BODY()