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

/bind-9.11.3/unit/atf-src/atf-c++/
H A Dutils.cpp80 atf::utils::grep_string(const std::string& regex, const std::string& str) function in class:atf::utils
H A Dutils_test.cpp283 ATF_TEST_CASE_WITHOUT_HEAD(grep_string); variable
284 ATF_TEST_CASE_BODY(grep_string)
287 ATF_REQUIRE(atf::utils::grep_string("a string", str));
288 ATF_REQUIRE(atf::utils::grep_string("^a string", str));
289 ATF_REQUIRE(atf::utils::grep_string("aaaabbbb$", str));
290 ATF_REQUIRE(atf::utils::grep_string("aa.*bb", str));
291 ATF_REQUIRE(!atf::utils::grep_string("foo", str));
292 ATF_REQUIRE(!atf::utils::grep_string("bar", str));
293 ATF_REQUIRE(!atf::utils::grep_string("aaaaa", str));
496 ATF_ADD_TEST_CASE(tcs, grep_string);
[all...]
/bind-9.11.3/unit/atf-src/atf-c/
H A Dutils.c80 grep_string(const char *regex, const char *str) function
313 found = grep_string(atf_dynstr_cstring(&formatted), line);
343 res = grep_string(atf_dynstr_cstring(&formatted), str);
H A Dutils_test.c296 ATF_TC_WITHOUT_HEAD(grep_string); variable
297 ATF_TC_BODY(grep_string, tc)
552 ATF_TP_ADD_TC(tp, grep_string);

Completed in 1072 milliseconds