Lines Matching refs:stat_buf
40 struct stat stat_buf; in verify_stat() local
43 TEST(stat(tc->pathname, &stat_buf)); in verify_stat()
50 if (stat_buf.st_uid != user_id) { in verify_stat()
52 stat_buf.st_uid, user_id); in verify_stat()
56 if (stat_buf.st_gid != group_id) { in verify_stat()
58 stat_buf.st_gid, group_id); in verify_stat()
62 if (stat_buf.st_size != FILE_SIZE) { in verify_stat()
64 (long)stat_buf.st_size, FILE_SIZE); in verify_stat()
68 if ((stat_buf.st_mode & MASK) != tc->mode) { in verify_stat()
70 (stat_buf.st_mode & MASK), tc->mode); in verify_stat()
74 if (stat_buf.st_nlink != 1) { in verify_stat()
76 stat_buf.st_nlink); in verify_stat()