Lines Matching defs:path
46 static const char path[] = "fifo";
55 if (mkfifo(path, 0600) == 0) {
56 ATF_REQUIRE(unlink(path) == 0);
80 ATF_REQUIRE(mkfifo(path, 0600) == 0);
92 fd = open(path, O_RDONLY);
107 (void)unlink(path);
112 (void)unlink(path);
128 ATF_REQUIRE(mkfifo(path, 0600) == 0);
137 ATF_REQUIRE_ERRNO(EEXIST, mkfifo(path, 0600) == -1);
145 ATF_REQUIRE(unlink(path) == 0);
150 (void)unlink(path);
167 ATF_REQUIRE(mkfifo(path, 0600) == 0);
179 fd = open(path, O_RDONLY | O_NONBLOCK);
190 ATF_REQUIRE_ERRNO(ENXIO, open(path, O_WRONLY | O_NONBLOCK) == -1);
199 (void)unlink(path);
204 (void)unlink(path);
222 ATF_REQUIRE(mkfifo(path, 0600) == 0);
228 ATF_REQUIRE_ERRNO(EFTYPE, chmod(path, 1777) == -1);
230 ATF_REQUIRE(unlink(path) == 0);
235 (void)unlink(path);
252 ATF_REQUIRE(mkfifo(path, 0600) == 0);
253 ATF_REQUIRE(stat(path, &st) == 0);
258 ATF_REQUIRE(unlink(path) == 0);
263 (void)unlink(path);