Home
last modified time | relevance | path

Searched refs:grep_string (Results 1 – 10 of 10) sorted by relevance

/freebsd/contrib/atf/atf-c++/
H A Dutils_test.cpp283 ATF_TEST_CASE_WITHOUT_HEAD(grep_string);
284 ATF_TEST_CASE_BODY(grep_string) in ATF_TEST_CASE_BODY() argument
287 ATF_REQUIRE(atf::utils::grep_string("a string", str)); in ATF_TEST_CASE_BODY()
288 ATF_REQUIRE(atf::utils::grep_string("^a string", str)); in ATF_TEST_CASE_BODY()
289 ATF_REQUIRE(atf::utils::grep_string("aaaabbbb$", str)); in ATF_TEST_CASE_BODY()
290 ATF_REQUIRE(atf::utils::grep_string("aa.*bb", str)); in ATF_TEST_CASE_BODY()
291 ATF_REQUIRE(!atf::utils::grep_string("foo", str)); in ATF_TEST_CASE_BODY()
292 ATF_REQUIRE(!atf::utils::grep_string("bar", str)); in ATF_TEST_CASE_BODY()
293 ATF_REQUIRE(!atf::utils::grep_string("aaaaa", str)); in ATF_TEST_CASE_BODY()
497 ATF_ADD_TEST_CASE(tcs, grep_string); in ATF_INIT_TEST_CASES()
H A Dutils.hpp46 bool grep_string(const std::string&, const std::string&);
56 if (grep_string(regexp, *iter)) in grep_collection()
H A Dutils.cpp87 atf::utils::grep_string(const std::string& regex, const std::string& str) in grep_string() function in atf::utils
/freebsd/contrib/kyua/cli/
H A Dcmd_about_test.cpp79 ATF_REQUIRE(atf::utils::grep_string(PACKAGE_NAME, ui.out_log()[0])); in ATF_TEST_CASE_BODY()
80 ATF_REQUIRE(atf::utils::grep_string(PACKAGE_VERSION, ui.out_log()[0])); in ATF_TEST_CASE_BODY()
115 ATF_REQUIRE(atf::utils::grep_string(PACKAGE_NAME, ui.out_log()[0])); in ATF_TEST_CASE_BODY()
116 ATF_REQUIRE(atf::utils::grep_string(PACKAGE_VERSION, ui.out_log()[0])); in ATF_TEST_CASE_BODY()
152 ATF_REQUIRE(!atf::utils::grep_string(PACKAGE_NAME, ui.out_log()[0])); in ATF_TEST_CASE_BODY()
211 ATF_REQUIRE(!atf::utils::grep_string(PACKAGE_NAME, ui.out_log()[0])); in ATF_TEST_CASE_BODY()
256 ATF_REQUIRE(atf::utils::grep_string(PACKAGE_NAME, ui.out_log()[0])); in ATF_TEST_CASE_BODY()
257 ATF_REQUIRE(atf::utils::grep_string(PACKAGE_VERSION, ui.out_log()[0])); in ATF_TEST_CASE_BODY()
H A Dcmd_config_test.cpp134 ATF_REQUIRE(atf::utils::grep_string("unknown.*not defined", in ATF_TEST_CASE_BODY()
/freebsd/contrib/atf/atf-c/
H A Dutils.c83 grep_string(const char *regex, const char *str) in grep_string() function
323 found = grep_string(atf_dynstr_cstring(&formatted), line); in atf_utils_grep_file()
353 res = grep_string(atf_dynstr_cstring(&formatted), str); in atf_utils_grep_string()
H A Dutils_test.c296 ATF_TC_WITHOUT_HEAD(grep_string);
297 ATF_TC_BODY(grep_string, tc) in ATF_TC_BODY() argument
553 ATF_TP_ADD_TC(tp, grep_string); in ATF_TP_ADD_TCS()
/freebsd/contrib/kyua/utils/process/
H A Dchild_test.cpp402 ATF_REQUIRE(atf::utils::grep_string("pipe.*failed", e.what())); in ATF_TEST_CASE_BODY()
458 ATF_REQUIRE(atf::utils::grep_string("fork.*failed", e.what())); in ATF_TEST_CASE_BODY()
606 ATF_REQUIRE(atf::utils::grep_string("fork.*failed", e.what())); in ATF_TEST_CASE_BODY()
H A Doperations_test.cpp442 ATF_REQUIRE(atf::utils::grep_string("Failed to wait", e.what())); in ATF_TEST_CASE_BODY()
/freebsd/contrib/atf/
H A DNEWS158 fork, grep_collection, grep_file, grep_string, redirect and wait