Lines Matching refs:ATF_REQUIRE
57 ATF_REQUIRE(open(name, O_CREAT | O_WRONLY | O_TRUNC, 0644) != -1);
110 ATF_REQUIRE(condition);
295 ATF_REQUIRE(atf::utils::grep_file("^passed", "result"));
296 ATF_REQUIRE(atf::fs::exists(atf::fs::path("before")));
297 ATF_REQUIRE(!atf::fs::exists(atf::fs::path("after")));
309 ATF_REQUIRE(atf::utils::grep_file("^failed: Failed on purpose", "result"));
310 ATF_REQUIRE(atf::fs::exists(atf::fs::path("before")));
311 ATF_REQUIRE(!atf::fs::exists(atf::fs::path("after")));
323 ATF_REQUIRE(atf::utils::grep_file("^skipped: Skipped on purpose",
325 ATF_REQUIRE(atf::fs::exists(atf::fs::path("before")));
326 ATF_REQUIRE(!atf::fs::exists(atf::fs::path("after")));
332 set_md_var("descr", "Tests the ATF_REQUIRE macro");
357 ATF_REQUIRE(atf::fs::exists(before));
359 ATF_REQUIRE(atf::utils::grep_file("^passed", "result"));
360 ATF_REQUIRE(atf::fs::exists(after));
362 ATF_REQUIRE(atf::utils::grep_file(
364 ATF_REQUIRE(!atf::fs::exists(after));
407 ATF_REQUIRE(atf::fs::exists(before));
409 ATF_REQUIRE(atf::utils::grep_file("^passed", "result"));
410 ATF_REQUIRE(atf::fs::exists(after));
412 ATF_REQUIRE(atf::utils::grep_file("^failed: .*v1 != v2", "result"));
413 ATF_REQUIRE(!atf::fs::exists(after));
452 ATF_REQUIRE(atf::fs::exists(before));
454 ATF_REQUIRE(atf::utils::grep_file("^passed", "result"));
455 ATF_REQUIRE(atf::fs::exists(after));
457 ATF_REQUIRE(atf::utils::grep_file("^failed: ", "result"));
458 ATF_REQUIRE(!atf::fs::exists(after));
499 ATF_REQUIRE(atf::fs::exists(before));
501 ATF_REQUIRE(atf::utils::grep_file("^passed", "result"));
502 ATF_REQUIRE(atf::fs::exists(after));
504 ATF_REQUIRE(atf::utils::grep_file("^failed: ", "result"));
505 ATF_REQUIRE(!atf::fs::exists(after));
544 ATF_REQUIRE(atf::fs::exists(before));
546 ATF_REQUIRE(atf::utils::grep_file("^passed", "result"));
547 ATF_REQUIRE(atf::fs::exists(after));
549 ATF_REQUIRE(atf::utils::grep_file("^failed: ", "result"));
550 ATF_REQUIRE(!atf::fs::exists(after));
590 ATF_REQUIRE(atf::fs::exists(before));
592 ATF_REQUIRE(atf::utils::grep_file("^passed", "result"));
593 ATF_REQUIRE(atf::fs::exists(after));
598 ATF_REQUIRE(atf::utils::grep_file(exp_result.c_str(), "result"));
599 ATF_REQUIRE(!atf::fs::exists(after));
642 ATF_REQUIRE(atf::fs::exists(before));
644 ATF_REQUIRE(atf::utils::grep_file("^passed", "result"));
645 ATF_REQUIRE(atf::fs::exists(after));
650 ATF_REQUIRE(atf::utils::grep_file(exp_result.c_str(), "result"));
651 ATF_REQUIRE(!atf::fs::exists(after));
690 ATF_REQUIRE(atf::fs::exists(before));
691 ATF_REQUIRE(atf::fs::exists(after));
694 ATF_REQUIRE(atf::utils::grep_file("^passed", "result"));
696 ATF_REQUIRE(atf::utils::grep_file("^failed", "result"));
700 ATF_REQUIRE(atf::utils::grep_file(exp_result.c_str(), "stderr"));
738 ATF_REQUIRE(atf::fs::exists(before));
740 ATF_REQUIRE(atf::utils::grep_file("^passed", "result"));
741 ATF_REQUIRE(atf::fs::exists(after));
745 ATF_REQUIRE(atf::utils::grep_file(exp_result.c_str(), "result"));
747 ATF_REQUIRE(!atf::fs::exists(after));