Searched refs:grep_file (Results 1 - 7 of 7) sorted by relevance

/bind-9.11.3/unit/atf-src/atf-c++/
H A Dcheck_test.cpp191 ATF_REQUIRE(atf::utils::grep_file("-o test.o", "stdout"));
192 ATF_REQUIRE(atf::utils::grep_file("-c test.c", "stdout"));
196 ATF_REQUIRE(atf::utils::grep_file("-o test.o", "stdout"));
197 ATF_REQUIRE(atf::utils::grep_file("-c test.c", "stdout"));
198 ATF_REQUIRE(atf::utils::grep_file("test.c", "stderr"));
199 ATF_REQUIRE(atf::utils::grep_file("UNDEFINED_SYMBOL", "stderr"));
211 ATF_REQUIRE(atf::utils::grep_file("-o.*test.p", "stdout"));
212 ATF_REQUIRE(atf::utils::grep_file("test.c", "stdout"));
213 ATF_REQUIRE(atf::utils::grep_file("foo bar", "test.p"));
217 ATF_REQUIRE(atf::utils::grep_file("
[all...]
H A Dmacros_test.cpp293 ATF_REQUIRE(atf::utils::grep_file("^passed", "result"));
307 ATF_REQUIRE(atf::utils::grep_file("^failed: Failed on purpose", "result"));
321 ATF_REQUIRE(atf::utils::grep_file("^skipped: Skipped on purpose",
357 ATF_REQUIRE(atf::utils::grep_file("^passed", "result"));
360 ATF_REQUIRE(atf::utils::grep_file(
407 ATF_REQUIRE(atf::utils::grep_file("^passed", "result"));
410 ATF_REQUIRE(atf::utils::grep_file("^failed: .*v1 != v2", "result"));
452 ATF_REQUIRE(atf::utils::grep_file("^passed", "result"));
455 ATF_REQUIRE(atf::utils::grep_file("^failed: ", "result"));
499 ATF_REQUIRE(atf::utils::grep_file("
[all...]
H A Dutils.hpp44 bool grep_file(const std::string&, const std::string&);
H A Dutils_test.cpp270 ATF_TEST_CASE_WITHOUT_HEAD(grep_file); variable
271 ATF_TEST_CASE_BODY(grep_file)
275 ATF_REQUIRE(atf::utils::grep_file("line1", "test.txt"));
276 ATF_REQUIRE(atf::utils::grep_file("second line", "test.txt"));
277 ATF_REQUIRE(atf::utils::grep_file("aa.*bb", "test.txt"));
278 ATF_REQUIRE(!atf::utils::grep_file("foo", "test.txt"));
279 ATF_REQUIRE(!atf::utils::grep_file("bar", "test.txt"));
280 ATF_REQUIRE(!atf::utils::grep_file("aaaaa", "test.txt"));
495 ATF_ADD_TEST_CASE(tcs, grep_file);
H A Dutils.cpp74 atf::utils::grep_file(const std::string& regex, const std::string& path) function in class:atf::utils
/bind-9.11.3/unit/atf-src/atf-c/
H A Dutils_test.c282 ATF_TC_WITHOUT_HEAD(grep_file); variable
283 ATF_TC_BODY(grep_file, tc)
551 ATF_TP_ADD_TC(tp, grep_file);
/bind-9.11.3/unit/atf-src/atf-sh/
H A Datf-check.cpp376 grep_file(const atf::fs::path& path, const std::string& regexp) function
641 const bool matches = grep_file(path, oc.value);

Completed in 5952 milliseconds