Home | History | Annotate | Download | only in kqueue

Lines Matching defs:testfile

512 static const char testfile[] = "testfile";
524 char buf[sizeof(testfile)];
534 ATF_REQUIRE((fd = open(testfile,
548 ATF_REQUIRE((fd = open(testfile, O_RDWR)) != -1);
552 ATF_REQUIRE((pwrite(fd, testfile,
553 sizeof(testfile), 0)) == sizeof(testfile));
558 ATF_REQUIRE((pwrite(fd, testfile,
559 sizeof(testfile), 0)) == sizeof(testfile));
564 ATF_REQUIRE((pwrite(fd, testfile,
565 1, sizeof(testfile))) == 1);
580 ATF_REQUIRE((fd = open(testfile, O_RDONLY)) != -1);
595 (void)unlink(testfile);
632 ATF_REQUIRE((open_ev_fd = open(testfile,
646 * The testfile vnode now has 3 knotes attached, in "LIFO"
655 ATF_REQUIRE((fd = open(testfile, O_RDWR)) != -1);
659 ATF_REQUIRE((pwrite(fd, testfile,
660 sizeof(testfile), 0)) == sizeof(testfile));
671 (void)unlink(testfile);