Lines Matching refs:stat

61 	struct stat sa, sb;  in ATF_TC_BODY()
64 (void)memset(&sa, 0, sizeof(struct stat)); in ATF_TC_BODY()
65 (void)memset(&sb, 0, sizeof(struct stat)); in ATF_TC_BODY()
70 ATF_REQUIRE(stat(path, &sa) == 0); in ATF_TC_BODY()
72 ATF_REQUIRE(stat(path, &sb) == 0); in ATF_TC_BODY()
95 struct stat sa, sb; in ATF_TC_BODY()
124 (void)memset(&sa, 0, sizeof(struct stat)); in ATF_TC_BODY()
125 (void)memset(&sb, 0, sizeof(struct stat)); in ATF_TC_BODY()
127 ATF_REQUIRE(stat(ftse->fts_parent->fts_path,&sa) == 0); in ATF_TC_BODY()
129 ATF_REQUIRE(stat(".", &sb) == 0); in ATF_TC_BODY()
164 struct stat st; in ATF_TC_BODY()
172 ATF_REQUIRE_ERRNO(ENAMETOOLONG, stat(buf, &st) == -1); in ATF_TC_BODY()
178 ATF_REQUIRE_ERRNO(EFAULT, stat((void *)-1, &st) == -1); in ATF_TC_BODY()
184 ATF_REQUIRE_ERRNO(EFAULT, stat("/etc/passwd", (void *)-1) == -1); in ATF_TC_BODY()
190 ATF_REQUIRE_ERRNO(ENOENT, stat("/a/b/c/d/e/f/g/h/i/j/k", &st) == -1); in ATF_TC_BODY()
204 struct stat sa, sb; in ATF_TC_BODY()
210 (void)memset(&sa, 0, sizeof(struct stat)); in ATF_TC_BODY()
211 (void)memset(&sb, 0, sizeof(struct stat)); in ATF_TC_BODY()
217 ATF_REQUIRE(stat(path, &sa) == 0); in ATF_TC_BODY()
222 ATF_REQUIRE(stat(path, &sb) == 0); in ATF_TC_BODY()
246 struct stat sa, sb; in ATF_TC_BODY()
251 (void)memset(&sa, 0, sizeof(struct stat)); in ATF_TC_BODY()
252 (void)memset(&sb, 0, sizeof(struct stat)); in ATF_TC_BODY()
261 ATF_REQUIRE(stat(path, &sb) == 0); in ATF_TC_BODY()
286 struct stat sa, sb, sc; in ATF_TC_BODY()
296 (void)memset(&sa, 0, sizeof(struct stat)); in ATF_TC_BODY()
297 (void)memset(&sb, 0, sizeof(struct stat)); in ATF_TC_BODY()
298 (void)memset(&sc, 0, sizeof(struct stat)); in ATF_TC_BODY()
303 ATF_REQUIRE(stat(path, &sc) == 0); in ATF_TC_BODY()
331 struct stat st; in ATF_TC_BODY()
335 (void)memset(&st, 0, sizeof(struct stat)); in ATF_TC_BODY()
374 struct stat sa, sb; in ATF_TC_BODY()
377 (void)memset(&sa, 0, sizeof(struct stat)); in ATF_TC_BODY()
378 (void)memset(&sb, 0, sizeof(struct stat)); in ATF_TC_BODY()
384 ATF_REQUIRE(stat(pathlink, &sa) == 0); in ATF_TC_BODY()