Home
last modified time | relevance | path

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

/netbsd-src/external/bsd/kyua-cli/dist/cli/
H A Dcmd_about_test.cpp68 ATF_REQUIRE(atf::utils::grep_string(PACKAGE_NAME, ui.out_log()[0])); in ATF_TEST_CASE_BODY()
69 ATF_REQUIRE(atf::utils::grep_string(PACKAGE_VERSION, ui.out_log()[0])); in ATF_TEST_CASE_BODY()
90 ATF_REQUIRE(atf::utils::grep_string(PACKAGE_NAME, ui.out_log()[0])); in ATF_TEST_CASE_BODY()
91 ATF_REQUIRE(atf::utils::grep_string(PACKAGE_VERSION, ui.out_log()[0])); in ATF_TEST_CASE_BODY()
116 ATF_REQUIRE(!atf::utils::grep_string(PACKAGE_NAME, ui.out_log()[0])); in ATF_TEST_CASE_BODY()
160 ATF_REQUIRE(!atf::utils::grep_string(PACKAGE_NAME, ui.out_log()[0])); in ATF_TEST_CASE_BODY()
202 ATF_REQUIRE(atf::utils::grep_string(PACKAGE_NAME, ui.out_log()[0])); in ATF_TEST_CASE_BODY()
203 ATF_REQUIRE(atf::utils::grep_string(PACKAGE_VERSION, ui.out_log()[0])); in ATF_TEST_CASE_BODY()
H A Dcmd_config_test.cpp131 ATF_REQUIRE(atf::utils::grep_string("unknown.*not defined", in ATF_TEST_CASE_BODY()
/netbsd-src/external/bsd/atf/dist/atf-c++/
H A Dutils_test.cpp282 ATF_TEST_CASE_WITHOUT_HEAD(grep_string);
283 ATF_TEST_CASE_BODY(grep_string) in ATF_TEST_CASE_BODY() argument
286 ATF_REQUIRE(atf::utils::grep_string("a string", str)); in ATF_TEST_CASE_BODY()
287 ATF_REQUIRE(atf::utils::grep_string("^a string", str)); in ATF_TEST_CASE_BODY()
288 ATF_REQUIRE(atf::utils::grep_string("aaaabbbb$", str)); in ATF_TEST_CASE_BODY()
289 ATF_REQUIRE(atf::utils::grep_string("aa.*bb", str)); in ATF_TEST_CASE_BODY()
290 ATF_REQUIRE(!atf::utils::grep_string("foo", str)); in ATF_TEST_CASE_BODY()
291 ATF_REQUIRE(!atf::utils::grep_string("bar", str)); in ATF_TEST_CASE_BODY()
292 ATF_REQUIRE(!atf::utils::grep_string("aaaaa", str)); in ATF_TEST_CASE_BODY()
472 ATF_ADD_TEST_CASE(tcs, grep_string); in ATF_INIT_TEST_CASES()
H A Dutils.hpp49 bool grep_string(const std::string&, const std::string&);
59 if (grep_string(regexp, *iter)) in grep_collection()
H A Dutils.cpp84 atf::utils::grep_string(const std::string& regex, const std::string& str) in grep_string() function in atf::utils
/netbsd-src/external/bsd/atf/dist/atf-c/
H A Dutils.c56 grep_string(const char *regex, const char *str) in grep_string() function
280 found = grep_string(atf_dynstr_cstring(&formatted), line); in atf_utils_grep_file()
310 res = grep_string(atf_dynstr_cstring(&formatted), str); in atf_utils_grep_string()
H A Dutils_test.c291 ATF_TC_WITHOUT_HEAD(grep_string);
292 ATF_TC_BODY(grep_string, tc) in ATF_TC_BODY() argument
519 ATF_TP_ADD_TC(tp, grep_string); in ATF_TP_ADD_TCS()
/netbsd-src/external/bsd/kyua-cli/dist/engine/
H A Dtest_case_test.cpp884 ATF_REQUIRE(!atf::utils::grep_string("attempting to gather stack trace", in ATF_TEST_CASE_BODY()
886 ATF_REQUIRE( atf::utils::grep_string("attempting to gather stack trace", in ATF_TEST_CASE_BODY()
902 ATF_REQUIRE(!atf::utils::grep_string("attempting to gather stack trace", in ATF_TEST_CASE_BODY()
904 ATF_REQUIRE( atf::utils::grep_string("attempting to gather stack trace", in ATF_TEST_CASE_BODY()
/netbsd-src/external/bsd/kyua-cli/dist/utils/process/
H A Dchild_test.cpp353 ATF_REQUIRE(atf::utils::grep_string("pipe.*failed", e.what())); in ATF_TEST_CASE_BODY()
409 ATF_REQUIRE(atf::utils::grep_string("fork.*failed", e.what())); in ATF_TEST_CASE_BODY()
530 ATF_REQUIRE(atf::utils::grep_string("fork.*failed", e.what())); in ATF_TEST_CASE_BODY()
/netbsd-src/external/bsd/atf/dist/
H A DNEWS81 fork, grep_collection, grep_file, grep_string, redirect and wait