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(mkfifoat(dfd, BASEFIFO, mode) != -1);
63 ATF_REQUIRE(access(FIFO, F_OK) == 0);
77 ATF_REQUIRE(mkdir(DIR, 0755) == 0);
78 ATF_REQUIRE(mkfifoat(AT_FDCWD, FIFO, mode) != -1);
79 ATF_REQUIRE(access(FIFO, F_OK) == 0);
92 ATF_REQUIRE(mkfifoat(AT_FDCWD, FIFOERR, mode) == -1);
105 ATF_REQUIRE(mkdir(DIR, 0755) == 0);
106 ATF_REQUIRE((fd = open(FIFO, O_CREAT|O_RDWR, 0644)) != -1);
107 ATF_REQUIRE(close(fd) == 0);
108 ATF_REQUIRE(mkfifoat(-1, FIFO, mode) == -1);
125 ATF_REQUIRE(mkdir(DIR, 0755) == 0);
126 ATF_REQUIRE((dfd = open(DIR, O_RDONLY, 0)) != -1);
127 ATF_REQUIRE(mknodat(dfd, BASEFIFO, mode, 0) != -1);
128 ATF_REQUIRE(access(FIFO, F_OK) == 0);
129 ATF_REQUIRE(stat(FIFO, &st) == 0);