Lines Matching refs:ATF_REQUIRE
60 ATF_REQUIRE(mkdir(DIR, 0755) == 0);
61 ATF_REQUIRE((dfd = open(DIR, O_RDONLY, 0)) != -1);
62 ATF_REQUIRE(mkdirat(dfd, BASESDIR, mode) != -1);
63 ATF_REQUIRE(close(dfd) == 0);
64 ATF_REQUIRE(access(SDIR, F_OK) == 0);
77 ATF_REQUIRE(mkdir(DIR, 0755) == 0);
78 ATF_REQUIRE(mkdirat(AT_FDCWD, SDIR, mode) != -1);
79 ATF_REQUIRE(access(SDIR, F_OK) == 0);
92 ATF_REQUIRE(mkdirat(AT_FDCWD, SDIRERR, mode) == -1);
105 ATF_REQUIRE(mkdir(DIR, 0755) == 0);
106 ATF_REQUIRE((fd = open(SDIR, O_CREAT|O_RDWR, 0644)) != -1);
107 ATF_REQUIRE(close(fd) == 0);
108 ATF_REQUIRE(mkdirat(-1, SDIR, mode) == -1);