Lines Matching refs:ATF_REQUIRE

55     ATF_REQUIRE(open(name, O_CREAT | O_WRONLY | O_TRUNC, 0644) != -1);
108 ATF_REQUIRE(condition);
293 ATF_REQUIRE(atf::utils::grep_file("^passed", "result"));
294 ATF_REQUIRE(atf::fs::exists(atf::fs::path("before")));
295 ATF_REQUIRE(!atf::fs::exists(atf::fs::path("after")));
307 ATF_REQUIRE(atf::utils::grep_file("^failed: Failed on purpose", "result"));
308 ATF_REQUIRE(atf::fs::exists(atf::fs::path("before")));
309 ATF_REQUIRE(!atf::fs::exists(atf::fs::path("after")));
321 ATF_REQUIRE(atf::utils::grep_file("^skipped: Skipped on purpose",
323 ATF_REQUIRE(atf::fs::exists(atf::fs::path("before")));
324 ATF_REQUIRE(!atf::fs::exists(atf::fs::path("after")));
330 set_md_var("descr", "Tests the ATF_REQUIRE macro");
355 ATF_REQUIRE(atf::fs::exists(before));
357 ATF_REQUIRE(atf::utils::grep_file("^passed", "result"));
358 ATF_REQUIRE(atf::fs::exists(after));
360 ATF_REQUIRE(atf::utils::grep_file(
362 ATF_REQUIRE(!atf::fs::exists(after));
405 ATF_REQUIRE(atf::fs::exists(before));
407 ATF_REQUIRE(atf::utils::grep_file("^passed", "result"));
408 ATF_REQUIRE(atf::fs::exists(after));
410 ATF_REQUIRE(atf::utils::grep_file("^failed: .*v1 != v2", "result"));
411 ATF_REQUIRE(!atf::fs::exists(after));
450 ATF_REQUIRE(atf::fs::exists(before));
452 ATF_REQUIRE(atf::utils::grep_file("^passed", "result"));
453 ATF_REQUIRE(atf::fs::exists(after));
455 ATF_REQUIRE(atf::utils::grep_file("^failed: ", "result"));
456 ATF_REQUIRE(!atf::fs::exists(after));
497 ATF_REQUIRE(atf::fs::exists(before));
499 ATF_REQUIRE(atf::utils::grep_file("^passed", "result"));
500 ATF_REQUIRE(atf::fs::exists(after));
502 ATF_REQUIRE(atf::utils::grep_file("^failed: ", "result"));
503 ATF_REQUIRE(!atf::fs::exists(after));
542 ATF_REQUIRE(atf::fs::exists(before));
544 ATF_REQUIRE(atf::utils::grep_file("^passed", "result"));
545 ATF_REQUIRE(atf::fs::exists(after));
547 ATF_REQUIRE(atf::utils::grep_file("^failed: ", "result"));
548 ATF_REQUIRE(!atf::fs::exists(after));
588 ATF_REQUIRE(atf::fs::exists(before));
590 ATF_REQUIRE(atf::utils::grep_file("^passed", "result"));
591 ATF_REQUIRE(atf::fs::exists(after));
596 ATF_REQUIRE(atf::utils::grep_file(exp_result.c_str(), "result"));
597 ATF_REQUIRE(!atf::fs::exists(after));
640 ATF_REQUIRE(atf::fs::exists(before));
642 ATF_REQUIRE(atf::utils::grep_file("^passed", "result"));
643 ATF_REQUIRE(atf::fs::exists(after));
648 ATF_REQUIRE(atf::utils::grep_file(exp_result.c_str(), "result"));
649 ATF_REQUIRE(!atf::fs::exists(after));
688 ATF_REQUIRE(atf::fs::exists(before));
689 ATF_REQUIRE(atf::fs::exists(after));
692 ATF_REQUIRE(atf::utils::grep_file("^passed", "result"));
694 ATF_REQUIRE(atf::utils::grep_file("^failed", "result"));
698 ATF_REQUIRE(atf::utils::grep_file(exp_result.c_str(), "stderr"));
736 ATF_REQUIRE(atf::fs::exists(before));
738 ATF_REQUIRE(atf::utils::grep_file("^passed", "result"));
739 ATF_REQUIRE(atf::fs::exists(after));
743 ATF_REQUIRE(atf::utils::grep_file(exp_result.c_str(), "result"));
745 ATF_REQUIRE(!atf::fs::exists(after));