Searched defs:grep_file (Results 1 - 4 of 4) sorted by relevance

/bind-9.6-ESV-R11/unit/atf-src/atf-c++/
H A Dutils.cpp78 atf::utils::grep_file(const std::string& regex, const std::string& path) function in class:atf::utils
H A Dutils_test.cpp269 ATF_TEST_CASE_WITHOUT_HEAD(grep_file); variable
270 ATF_TEST_CASE_BODY(grep_file)
274 ATF_REQUIRE(atf::utils::grep_file("line1", "test.txt"));
275 ATF_REQUIRE(atf::utils::grep_file("second line", "test.txt"));
276 ATF_REQUIRE(atf::utils::grep_file("aa.*bb", "test.txt"));
277 ATF_REQUIRE(!atf::utils::grep_file("foo", "test.txt"));
278 ATF_REQUIRE(!atf::utils::grep_file("bar", "test.txt"));
279 ATF_REQUIRE(!atf::utils::grep_file("aaaaa", "test.txt"));
471 ATF_ADD_TEST_CASE(tcs, grep_file);
/bind-9.6-ESV-R11/unit/atf-src/atf-c/
H A Dutils_test.c277 ATF_TC_WITHOUT_HEAD(grep_file); variable
278 ATF_TC_BODY(grep_file, tc)
518 ATF_TP_ADD_TC(tp, grep_file);
/bind-9.6-ESV-R11/unit/atf-src/atf-sh/
H A Datf-check.cpp375 grep_file(const atf::fs::path& path, const std::string& regexp) function
642 const bool matches = grep_file(path, oc.value);

Completed in 14 milliseconds