Lines Matching refs:ATF_REQUIRE
77 ATF_REQUIRE((dev = get_devnull()) != NODEV);
78 ATF_REQUIRE(mkdir(DIR, 0755) == 0);
79 ATF_REQUIRE((dfd = open(DIR, O_RDONLY, 0)) != -1);
80 ATF_REQUIRE((fd = mknodat(dfd, BASEFILE, mode, dev)) != -1);
81 ATF_REQUIRE(close(fd) == 0);
82 ATF_REQUIRE(access(FILE, F_OK) == 0);
99 ATF_REQUIRE((dev = get_devnull()) != NODEV);
100 ATF_REQUIRE(mkdir(DIR, 0755) == 0);
101 ATF_REQUIRE((fd = mknodat(AT_FDCWD, FILE, mode, dev)) != -1);
102 ATF_REQUIRE(close(fd) == 0);
103 ATF_REQUIRE(access(FILE, F_OK) == 0);
119 ATF_REQUIRE((dev = get_devnull()) != NODEV);
120 ATF_REQUIRE((fd = mknodat(AT_FDCWD, FILEERR, mode, dev)) == -1);
135 ATF_REQUIRE((dev = get_devnull()) != NODEV);
136 ATF_REQUIRE(mkdir(DIR, 0755) == 0);
137 ATF_REQUIRE((fd = open(FILE, O_CREAT|O_RDWR, 0644)) != -1);
138 ATF_REQUIRE(close(fd) == 0);
139 ATF_REQUIRE((fd = mknodat(-1, FILE, mode, dev)) == -1);