Lines Matching refs:ATF_CHECK
282 ATF_CHECK(atf_utils_grep_file("line1", "test.txt"));
283 ATF_CHECK(atf_utils_grep_file("line%d", "test.txt", 1));
284 ATF_CHECK(atf_utils_grep_file("second line", "test.txt"));
285 ATF_CHECK(atf_utils_grep_file("aa.*bb", "test.txt"));
286 ATF_CHECK(!atf_utils_grep_file("foo", "test.txt"));
287 ATF_CHECK(!atf_utils_grep_file("bar", "test.txt"));
288 ATF_CHECK(!atf_utils_grep_file("aaaaa", "test.txt"));
295 ATF_CHECK(atf_utils_grep_string("a string", str));
296 ATF_CHECK(atf_utils_grep_string("^a string", str));
297 ATF_CHECK(atf_utils_grep_string("aaaabbbb$", str));
298 ATF_CHECK(atf_utils_grep_string("a%s*bb", str, "a."));
299 ATF_CHECK(!atf_utils_grep_string("foo", str));
300 ATF_CHECK(!atf_utils_grep_string("bar", str));
301 ATF_CHECK(!atf_utils_grep_string("aaaaa", str));