Lines Matching refs:ATF_REQUIRE
60 ATF_REQUIRE(open(atf_fs_path_cstring(&p),
162 H_DEF(require_ ## id, ATF_REQUIRE(condition))
263 ATF_REQUIRE(exists("before"));
264 ATF_REQUIRE(exists("after"));
267 ATF_REQUIRE(atf_utils_grep_file("^passed", "result"));
269 ATF_REQUIRE(atf_utils_grep_file("^failed", "result"));
270 ATF_REQUIRE(atf_utils_grep_file(
274 ATF_REQUIRE(unlink("before") != -1);
275 ATF_REQUIRE(unlink("after") != -1);
307 ATF_REQUIRE(exists("before"));
309 ATF_REQUIRE(atf_utils_grep_file("^passed", "result"));
310 ATF_REQUIRE(exists("after"));
312 ATF_REQUIRE(atf_utils_grep_file(
315 ATF_REQUIRE(!exists("after"));
318 ATF_REQUIRE(unlink("before") != -1);
320 ATF_REQUIRE(unlink("after") != -1);
364 ATF_REQUIRE(exists("before"));
365 ATF_REQUIRE(exists("after"));
368 ATF_REQUIRE(atf_utils_grep_file("^passed", "result"));
370 ATF_REQUIRE(atf_utils_grep_file("^failed", "result"));
371 ATF_REQUIRE(atf_utils_grep_file("Check failed: .*"
375 ATF_REQUIRE(unlink("before") != -1);
376 ATF_REQUIRE(unlink("after") != -1);
409 ATF_REQUIRE(atf_utils_grep_file("^passed", "result"));
411 ATF_REQUIRE(atf_utils_grep_file("^failed", "result"));
547 * Test cases for the ATF_REQUIRE and ATF_REQUIRE_MSG macros.
558 atf_tc_set_md_var(tc, "descr", "Tests the ATF_REQUIRE and "
586 ATF_REQUIRE(exists("before"));
588 ATF_REQUIRE(atf_utils_grep_file("^passed", "result"));
589 ATF_REQUIRE(exists("after"));
591 ATF_REQUIRE(atf_utils_grep_file(
593 ATF_REQUIRE(!exists("after"));
596 ATF_REQUIRE(unlink("before") != -1);
598 ATF_REQUIRE(unlink("after") != -1);
627 ATF_REQUIRE(exists("before"));
629 ATF_REQUIRE(atf_utils_grep_file("^passed", "result"));
630 ATF_REQUIRE(exists("after"));
632 ATF_REQUIRE(atf_utils_grep_file("^failed: .*macros_test.c"
634 ATF_REQUIRE(!exists("after"));
637 ATF_REQUIRE(unlink("before") != -1);
639 ATF_REQUIRE(unlink("after") != -1);