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

/bind-9.6-ESV-R11/unit/atf-src/atf-c++/
H A Dcheck_test.cpp196 ATF_REQUIRE(atf::utils::grep_file("-o test.o", "stdout"));
197 ATF_REQUIRE(atf::utils::grep_file("-c test.c", "stdout"));
201 ATF_REQUIRE(atf::utils::grep_file("-o test.o", "stdout"));
202 ATF_REQUIRE(atf::utils::grep_file("-c test.c", "stdout"));
203 ATF_REQUIRE(atf::utils::grep_file("test.c", "stderr"));
204 ATF_REQUIRE(atf::utils::grep_file("UNDEFINED_SYMBOL", "stderr"));
216 ATF_REQUIRE(atf::utils::grep_file("-o.*test.p", "stdout"));
217 ATF_REQUIRE(atf::utils::grep_file("test.c", "stdout"));
218 ATF_REQUIRE(atf::utils::grep_file("foo bar", "test.p"));
222 ATF_REQUIRE(atf::utils::grep_file("
[all...]
H A Dmacros_test.cpp295 ATF_REQUIRE(atf::utils::grep_file("^passed", "result"));
309 ATF_REQUIRE(atf::utils::grep_file("^failed: Failed on purpose", "result"));
323 ATF_REQUIRE(atf::utils::grep_file("^skipped: Skipped on purpose",
359 ATF_REQUIRE(atf::utils::grep_file("^passed", "result"));
362 ATF_REQUIRE(atf::utils::grep_file(
409 ATF_REQUIRE(atf::utils::grep_file("^passed", "result"));
412 ATF_REQUIRE(atf::utils::grep_file("^failed: .*v1 != v2", "result"));
454 ATF_REQUIRE(atf::utils::grep_file("^passed", "result"));
457 ATF_REQUIRE(atf::utils::grep_file("^failed: ", "result"));
501 ATF_REQUIRE(atf::utils::grep_file("
[all...]
H A Dutils.hpp48 bool grep_file(const std::string&, const std::string&);
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);
H A Dutils.cpp78 atf::utils::grep_file(const std::string& regex, const std::string& path) function in class:atf::utils
/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 19 milliseconds