Lines Matching refs:ATF_REQUIRE
77 ATF_REQUIRE(dirp != NULL);
100 ATF_REQUIRE(::chdir("root") != -1);
112 ATF_REQUIRE(::chdir("root") != -1);
113 ATF_REQUIRE(::rmdir("../root") != -1);
127 ATF_REQUIRE(!fs::exists(dir));
129 ATF_REQUIRE(fs::exists(dir));
137 ATF_REQUIRE(!fs::find_in_path("ls"));
139 ATF_REQUIRE(!fs::find_in_path("ls"));
147 ATF_REQUIRE(!fs::find_in_path("ls"));
149 ATF_REQUIRE(!fs::find_in_path("ls"));
160 ATF_REQUIRE(!fs::find_in_path("ls"));
175 ATF_REQUIRE(!fs::find_in_path("ls"));
188 ATF_REQUIRE(!fs::find_in_path("foo-bar"));
201 ATF_REQUIRE(!fs::find_in_path("abcd"));
212 ATF_REQUIRE(lookup(".", "dir", DT_DIR));
225 ATF_REQUIRE(!lookup(".", "dir1", DT_DIR));
226 ATF_REQUIRE(!lookup(".", "dir2", DT_DIR));
233 ATF_REQUIRE(!lookup(".", "new-dir", DT_DIR));
235 ATF_REQUIRE(lookup(".", "new-dir", DT_DIR));
242 ATF_REQUIRE(!lookup(".", "a", DT_DIR));
244 ATF_REQUIRE(lookup(".", "a", DT_DIR));
245 ATF_REQUIRE(lookup("a", "b", DT_DIR));
246 ATF_REQUIRE(lookup("a/b", "c", DT_DIR));
268 ATF_REQUIRE(::chmod("a/b", 0555) != -1);
275 ATF_REQUIRE(lookup(".", "a", DT_DIR));
276 ATF_REQUIRE(lookup("a", "b", DT_DIR));
277 ATF_REQUIRE(!lookup(".", "c", DT_DIR));
278 ATF_REQUIRE(!lookup("a", "c", DT_DIR));
279 ATF_REQUIRE(!lookup("a/b", "c", DT_DIR));
292 ATF_REQUIRE(!lookup("tmp", dir_template.c_str(), DT_DIR));
293 ATF_REQUIRE(lookup("tmp", tempdir.leaf_name().c_str(), DT_DIR));
306 ATF_REQUIRE(!lookup("tmp", file_template.c_str(), DT_REG));
307 ATF_REQUIRE(lookup("tmp", tempfile.leaf_name().c_str(), DT_REG));
315 ATF_REQUIRE(lookup(".", "root", DT_DIR));
317 ATF_REQUIRE(!lookup(".", "root", DT_DIR));
334 ATF_REQUIRE(lookup(".", "root", DT_DIR));
336 ATF_REQUIRE(!lookup(".", "root", DT_DIR));
343 ATF_REQUIRE(::mkdir("foo", 0755) != -1);
344 ATF_REQUIRE(::access("foo", X_OK) == 0);
346 ATF_REQUIRE(::access("foo", X_OK) == -1);
362 ATF_REQUIRE(::access("foo", R_OK) == 0);
364 ATF_REQUIRE(::access("foo", R_OK) == -1);