Lines Matching refs:ATF_REQUIRE

80         ATF_REQUIRE(t1.str().find("XXXXXX") == std::string::npos);
81 ATF_REQUIRE(t2.str().find("XXXXXX") == std::string::npos);
82 ATF_REQUIRE(t1 != t2);
83 ATF_REQUIRE(!atf::fs::exists(tmpl));
84 ATF_REQUIRE( atf::fs::exists(t1));
85 ATF_REQUIRE( atf::fs::exists(t2));
88 ATF_REQUIRE( fi1.is_owner_readable());
89 ATF_REQUIRE( fi1.is_owner_writable());
90 ATF_REQUIRE( fi1.is_owner_executable());
91 ATF_REQUIRE(!fi1.is_group_readable());
92 ATF_REQUIRE(!fi1.is_group_writable());
93 ATF_REQUIRE(!fi1.is_group_executable());
94 ATF_REQUIRE(!fi1.is_other_readable());
95 ATF_REQUIRE(!fi1.is_other_writable());
96 ATF_REQUIRE(!fi1.is_other_executable());
99 ATF_REQUIRE( fi2.is_owner_readable());
100 ATF_REQUIRE( fi2.is_owner_writable());
101 ATF_REQUIRE( fi2.is_owner_executable());
102 ATF_REQUIRE(!fi2.is_group_readable());
103 ATF_REQUIRE(!fi2.is_group_writable());
104 ATF_REQUIRE(!fi2.is_group_executable());
105 ATF_REQUIRE(!fi2.is_other_readable());
106 ATF_REQUIRE(!fi2.is_other_writable());
107 ATF_REQUIRE(!fi2.is_other_executable());
110 ATF_REQUIRE(t1.str() != "non-existent");
111 ATF_REQUIRE(!atf::fs::exists(t1));
112 ATF_REQUIRE(t2.str() != "non-existent");
113 ATF_REQUIRE(!atf::fs::exists(t2));
137 ATF_REQUIRE(atf::fs::exists(p));
138 ATF_REQUIRE(atf::fs::exists(p / "dir"));
139 ATF_REQUIRE(atf::fs::exists(p / "dir/1"));
140 ATF_REQUIRE(atf::fs::exists(p / "dir/2"));
141 ATF_REQUIRE(atf::fs::exists(p / "reg"));
143 ATF_REQUIRE(!atf::fs::exists(p));
157 ATF_REQUIRE(::chmod("aux", 0555) != -1);
161 ATF_REQUIRE(atf::atf_run::is_root());
163 ATF_REQUIRE(!atf::atf_run::is_root());
181 ATF_REQUIRE(::chmod("root/1/2", 0555) != -1);
182 ATF_REQUIRE(::chmod("root/1", 0555) != -1);
186 ATF_REQUIRE(!atf::fs::exists(p));
207 ATF_REQUIRE(get_current_dir() == old);
210 ATF_REQUIRE(old2 == old);
212 ATF_REQUIRE(old3 == old2 / "files");
214 ATF_REQUIRE(old4 == old3 / "dir");
215 ATF_REQUIRE(get_current_dir() == old);
234 ATF_REQUIRE(get_current_dir() == curdir);
236 ATF_REQUIRE(get_current_dir() == curdir / "files");
238 ATF_REQUIRE(get_current_dir() == curdir / "files/dir");
240 ATF_REQUIRE(get_current_dir() == curdir / "files");
242 ATF_REQUIRE(get_current_dir() == curdir);