Lines Matching refs:fifo_path
238 static const char fifo_path[] = "pollhup_fifo"; variable
244 if (mkfifo(fifo_path, 0600) == 0) { in fifo_support()
245 ATF_REQUIRE(unlink(fifo_path) == 0); in fifo_support()
272 ATF_REQUIRE(mkfifo(fifo_path, 0600) == 0); in ATF_TC_BODY()
273 ATF_REQUIRE((rfd = open(fifo_path, O_RDONLY | O_NONBLOCK)) >= 0); in ATF_TC_BODY()
274 ATF_REQUIRE((wfd = open(fifo_path, O_WRONLY | O_NONBLOCK)) >= 0); in ATF_TC_BODY()
360 (void)unlink(fifo_path); in ATF_TC_CLEANUP()
377 ATF_REQUIRE(mkfifo(fifo_path, 0600) == 0); in ATF_TC_BODY()
378 ATF_REQUIRE((rfd = open(fifo_path, O_RDONLY | O_NONBLOCK)) >= 0); in ATF_TC_BODY()
379 ATF_REQUIRE((wfd = open(fifo_path, O_WRONLY)) >= 0); in ATF_TC_BODY()
399 ATF_REQUIRE((wfd = open(fifo_path, O_WRONLY)) >= 0); in ATF_TC_BODY()
405 (void)unlink(fifo_path); in ATF_TC_CLEANUP()
424 ATF_REQUIRE(mkfifo(fifo_path, 0600) == 0); in ATF_TC_BODY()
425 ATF_REQUIRE((rfd = open(fifo_path, O_RDONLY | O_NONBLOCK)) >= 0); in ATF_TC_BODY()
426 ATF_REQUIRE((wfd = open(fifo_path, O_WRONLY)) >= 0); in ATF_TC_BODY()
455 (void)unlink(fifo_path); in ATF_TC_CLEANUP()