Home
last modified time | relevance | path

Searched refs:FULLPATH (Results 1 – 25 of 41) sorted by relevance

12

/freebsd-13.1/tests/sys/fs/fusefs/
H A Dopendir.cc91 const char FULLPATH[] = "mountpoint/some_dir"; in TEST_F() local
104 ASSERT_EQ(-1, open(FULLPATH, O_DIRECTORY)); in TEST_F()
117 const char FULLPATH[] = "mountpoint/some_dir"; in TEST_F() local
124 EXPECT_EQ(-1, open(FULLPATH, O_DIRECTORY)); in TEST_F()
130 const char FULLPATH[] = "mountpoint/some_dir"; in TEST_F() local
141 fd = open(FULLPATH, O_DIRECTORY); in TEST_F()
150 const char FULLPATH[] = "mountpoint/some_dir"; in TEST_F() local
161 fd = open(FULLPATH, O_EXEC | O_DIRECTORY); in TEST_F()
195 EXPECT_EQ(-1, open(FULLPATH, O_DIRECTORY)); in TEST_F()
214 fd = open(FULLPATH, O_DIRECTORY); in TEST_F()
[all …]
H A Ddefault_permissions.cc403 EXPECT_NE(0, chown(FULLPATH, 0, -1)); in TEST_F()
848 EXPECT_EQ(-1, access(FULLPATH, F_OK)); in TEST_F()
876 fd = open(FULLPATH, O_RDONLY); in TEST_F()
902 fd = open(FULLPATH, O_WRONLY); in TEST_F()
932 fd = open(FULLPATH, O_WRONLY); in TEST_F()
1399 ASSERT_EQ(-1, unlink(FULLPATH)); in TEST_F()
1412 ASSERT_EQ(-1, unlink(FULLPATH)); in TEST_F()
1425 ASSERT_EQ(-1, unlink(FULLPATH)); in TEST_F()
1447 fd = open(FULLPATH, O_WRONLY); in TEST_F()
1473 fd = open(FULLPATH, O_WRONLY); in TEST_F()
[all …]
H A Daccess.cc94 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
126 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
150 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
159 ASSERT_NE(0, access(FULLPATH, access_mode)); in TEST_F()
170 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
184 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
192 ASSERT_NE(0, access(FULLPATH, access_mode)); in TEST_F()
206 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
226 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
257 ASSERT_NE(0, unlink(FULLPATH)); in TEST_F()
[all …]
H A Dlseek.cc59 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
75 fd = open(FULLPATH, O_RDONLY); in TEST_F()
107 fd = open(FULLPATH, O_RDONLY); in TEST_F()
134 fd = open(FULLPATH, O_RDONLY); in TEST_F()
167 fd = open(FULLPATH, O_RDONLY); in TEST_F()
194 fd = open(FULLPATH, O_RDONLY); in TEST_F()
224 fd = open(FULLPATH, O_RDONLY); in TEST_F()
254 fd = open(FULLPATH, O_RDONLY); in TEST_F()
292 fd = open(FULLPATH, O_RDONLY); in TEST_F()
322 fd = open(FULLPATH, O_RDONLY); in TEST_F()
[all …]
H A Dlocks.cc146 fd = open(FULLPATH, O_RDWR); in TEST_F()
167 fd = open(FULLPATH, O_RDWR); in TEST_F()
186 fd = open(FULLPATH, O_RDWR); in TEST_F()
205 fd = open(FULLPATH, O_RDWR); in TEST_F()
227 fd = open(FULLPATH, O_RDWR); in TEST_F()
277 fd = open(FULLPATH, O_RDWR); in TEST_F()
328 fd = open(FULLPATH, O_RDWR); in TEST_F()
361 fd = open(FULLPATH, O_RDWR); in TEST_F()
387 fd = open(FULLPATH, O_RDWR); in TEST_F()
413 fd = open(FULLPATH, O_RDWR); in TEST_F()
[all …]
H A Dwrite.cc235 fd = open(FULLPATH, O_WRONLY); in TEST_F()
362 fd = open(FULLPATH, O_RDWR); in TEST_F()
524 fd = open(FULLPATH, O_RDWR); in TEST_F()
599 fd = open(FULLPATH, O_RDWR); in TEST_P()
647 fd = open(FULLPATH, O_RDWR); in TEST_F()
701 fd = open(FULLPATH, O_RDWR); in TEST_F()
836 fd = open(FULLPATH, O_RDWR); in TEST_F()
873 fd = open(FULLPATH, O_RDWR); in TEST_F()
918 fd = open(FULLPATH, O_RDWR); in TEST_F()
975 fd = open(FULLPATH, O_RDWR); in TEST_F()
[all …]
H A Dfallocate.cc92 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
103 fd = open(FULLPATH, O_RDWR); in TEST_F()
121 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
132 fd = open(FULLPATH, O_RDWR); in TEST_F()
145 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
156 fd = open(FULLPATH, O_RDWR); in TEST_F()
196 fd = open(FULLPATH, O_RDWR); in TEST_F()
233 fd = open(FULLPATH, O_RDWR); in TEST_F()
241 EXPECT_EQ(0, stat(FULLPATH, &sb1)); in TEST_F()
271 fd = open(FULLPATH, O_RDWR); in TEST_F()
[all …]
H A Dfsyncdir.cc92 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
102 fd = open(FULLPATH, O_DIRECTORY); in TEST_F()
116 const char FULLPATH[] = "mountpoint/some_dir"; in TEST_F() local
125 fd = open(FULLPATH, O_DIRECTORY); in TEST_F()
140 const char FULLPATH[] = "mountpoint/some_dir"; in TEST_F() local
149 fd = open(FULLPATH, O_DIRECTORY); in TEST_F()
161 const char FULLPATH[] = "mountpoint/some_dir"; in TEST_F() local
170 fd = open(FULLPATH, O_DIRECTORY); in TEST_F()
183 const char FULLPATH[] = "mountpoint/some_dir"; in TEST_F() local
192 fd = open(FULLPATH, O_DIRECTORY); in TEST_F()
H A Dopen.cc51 const char FULLPATH[] = "mountpoint/some_file.txt"; in test_ok() local
69 fd = open(FULLPATH, os_flags); in test_ok()
89 const char FULLPATH[] = "mountpoint/zero"; in TEST_F() local
103 ASSERT_EQ(-1, open(FULLPATH, O_RDONLY)); in TEST_F()
133 ASSERT_EQ(-1, open(FULLPATH, O_RDONLY)); in TEST_F()
158 ASSERT_EQ(-1, open(FULLPATH, O_RDONLY)); in TEST_F()
210 fd1 = open(FULLPATH, O_RDONLY); in TEST_F()
215 fd0 = open(FULLPATH, O_RDONLY); in TEST_F()
305 fd = open(FULLPATH, O_RDONLY); in TEST_F()
334 fd = open(FULLPATH, O_RDONLY); in TEST_F()
[all …]
H A Drelease.cc79 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
89 fd = open(FULLPATH, O_RDONLY); in TEST_F()
109 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
119 fd = open(FULLPATH, O_WRONLY); in TEST_F()
131 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
141 fd = open(FULLPATH, O_RDWR | O_APPEND); in TEST_F()
154 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
164 fd = open(FULLPATH, O_RDONLY); in TEST_F()
168 fd2 = open(FULLPATH, O_WRONLY); in TEST_F()
187 fd = open(FULLPATH, O_RDONLY); in TEST_F()
[all …]
H A Dfsync.cc98 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
111 fd = open(FULLPATH, O_RDWR); in TEST_F()
132 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
160 fd = open(FULLPATH, O_RDWR); in TEST_F()
168 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
180 fd = open(FULLPATH, O_RDWR); in TEST_F()
208 fd = open(FULLPATH, O_RDWR); in TEST_F()
233 fd = open(FULLPATH, O_RDWR); in TEST_F()
255 fd = open(FULLPATH, O_RDWR); in TEST_F()
278 fd1 = open(FULLPATH, O_WRONLY); in TEST_F()
[all …]
H A Dcreate.cc120 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
145 fd = open(FULLPATH, O_CREAT | O_EXCL, mode); in TEST_F()
153 const char FULLPATH[] = "mountpoint/src"; in TEST_F() local
186 fd = open(FULLPATH, O_CREAT | O_EXCL, mode); in TEST_F()
256 fd = open(FULLPATH, O_CREAT | O_EXCL, mode); in TEST_F()
290 fd = open(FULLPATH, O_CREAT | O_EXCL, mode); in TEST_F()
321 fd = open(FULLPATH, O_CREAT | O_EXCL, mode); in TEST_F()
368 fd = open(FULLPATH, O_CREAT | O_EXCL, mode); in TEST_F()
400 fd = open(FULLPATH, O_CREAT | O_WRONLY, mode); in TEST_F()
424 fd = open(FULLPATH, O_CREAT | O_EXCL, mode); in TEST_F()
[all …]
H A Dxattr.cc49 const char FULLPATH[] = "mountpoint/some_file.txt"; variable
379 extattr_list_file(FULLPATH, ns, buf, sizeof(buf))); in TEST_F()
445 extattr_list_file(FULLPATH, ns, buf, sizeof(buf)); in TEST_F()
467 ASSERT_EQ(0, extattr_list_file(FULLPATH, ns, NULL, 0)) in TEST_F()
498 ASSERT_EQ(4, extattr_list_file(FULLPATH, ns, NULL, 0)) in TEST_F()
551 ASSERT_EQ(8, extattr_list_file(FULLPATH, ns, NULL, 0)) in TEST_F()
580 ASSERT_EQ(4, extattr_list_file(FULLPATH, ns, NULL, 0)) in TEST_F()
636 extattr_list_file(FULLPATH, ns, data, sizeof(data))) in TEST_F()
668 extattr_list_file(FULLPATH, ns, data, sizeof(data))) in TEST_F()
716 ASSERT_EQ(0, extattr_delete_file(FULLPATH, ns, "foo")) in TEST_F()
[all …]
H A Dlookup.cc70 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
98 ASSERT_EQ(0, stat(FULLPATH, &sb)) << strerror(errno); in TEST_F()
131 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
156 const char FULLPATH[] = "mountpoint/some_dir/."; in TEST_F() local
178 const char FULLPATH[] = "mountpoint/some_dir/.."; in TEST_F() local
287 EXPECT_NE(0, access(FULLPATH, F_OK)); in TEST_F()
304 ASSERT_EQ(-1, access(FULLPATH, F_OK)); in TEST_F()
314 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
351 const char *FULLPATH = "mountpoint/does_not_exist"; in TEST_F() local
358 EXPECT_NE(0, access(FULLPATH, F_OK)); in TEST_F()
[all …]
H A Dread.cc167 fd = open(FULLPATH, O_RDONLY); in TEST_F()
226 fd = open(FULLPATH, O_RDONLY); in TEST_F()
309 fd = open(FULLPATH, O_RDONLY); in TEST_F()
357 fd = open(FULLPATH, O_RDONLY); in TEST_F()
391 fd = open(FULLPATH, O_RDONLY); in TEST_F()
447 fd = open(FULLPATH, O_RDONLY); in TEST_F()
493 fd = open(FULLPATH, O_RDONLY); in TEST_F()
519 fd = open(FULLPATH, O_RDONLY); in TEST_F()
705 fd1 = open(FULLPATH, O_RDWR); in TEST_F()
740 fd1 = open(FULLPATH, O_RDWR); in TEST_F()
[all …]
H A Drmdir.cc77 const char FULLPATH[] = "mountpoint/some_dir"; in TEST_F() local
111 ASSERT_EQ(0, rmdir(FULLPATH)) << strerror(errno); in TEST_F()
119 const char FULLPATH[] = "mountpoint/some_dir"; in TEST_F() local
126 ASSERT_NE(0, rmdir(FULLPATH)); in TEST_F()
133 const char FULLPATH[] = "mountpoint/some_dir"; in TEST_F() local
142 ASSERT_EQ(0, rmdir(FULLPATH)) << strerror(errno); in TEST_F()
143 ASSERT_EQ(0, access(FULLPATH, F_OK)) << strerror(errno); in TEST_F()
150 const char FULLPATH[] = "mountpoint/some_dir"; in TEST_F() local
161 ASSERT_EQ(0, rmdir(FULLPATH)) << strerror(errno); in TEST_F()
H A Dflush.cc94 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
104 fd = open(FULLPATH, O_WRONLY); in TEST_F()
107 fd2 = open(FULLPATH, O_WRONLY); in TEST_F()
124 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
134 fd = open(FULLPATH, O_WRONLY); in TEST_F()
178 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
188 fd = open(FULLPATH, O_WRONLY); in TEST_F()
200 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
229 fd = open(FULLPATH, O_RDWR); in TEST_F()
239 fd2 = open(FULLPATH, O_WRONLY); in TEST_F()
H A Dmkdir.cc57 const char FULLPATH[] = "mountpoint/some_dir"; in TEST_F() local
75 ASSERT_NE(1, mkdir(FULLPATH, mode)); in TEST_F()
84 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
116 ASSERT_EQ(0, mkdir(FULLPATH, mode)) << strerror(errno); in TEST_F()
124 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
153 ASSERT_EQ(0, mkdir(FULLPATH, mode)) << strerror(errno); in TEST_F()
158 ASSERT_EQ(0, access(FULLPATH, F_OK)) << strerror(errno); in TEST_F()
163 const char FULLPATH[] = "mountpoint/some_dir"; in TEST_F() local
193 ASSERT_EQ(0, mkdir(FULLPATH, mode)) << strerror(errno); in TEST_F()
198 const char FULLPATH[] = "mountpoint/some_dir"; in TEST_F() local
[all …]
H A Dnfs.cc75 const char FULLPATH[] = "mountpoint/some_dir/."; in TEST_F() local
105 ASSERT_EQ(0, getfh(FULLPATH, &fhp)) << strerror(errno); in TEST_F()
113 const char FULLPATH[] = "mountpoint/some_dir/."; in TEST_F() local
152 const char FULLPATH[] = "mountpoint/some_dir/."; in TEST_F() local
178 const char FULLPATH[] = "mountpoint/some_dir/."; in TEST_F() local
224 const char FULLPATH[] = "mountpoint/some_dir/."; in TEST_F() local
240 ASSERT_EQ(-1, getfh(FULLPATH, &fhp)); in TEST_F()
247 const char FULLPATH[] = "mountpoint/some_dir/."; in TEST_F() local
262 ASSERT_NE(0, getfh(FULLPATH, &fhp)); in TEST_F()
269 const char FULLPATH[] = "mountpoint/some_dir/."; in TEST_F() local
[all …]
H A Dreaddir.cc71 const char FULLPATH[] = "mountpoint/some_dir"; in TEST_F() local
95 dir = opendir(FULLPATH); in TEST_F()
122 const char FULLPATH[] = "mountpoint/some_dir"; in TEST_F() local
140 dir = opendir(FULLPATH); in TEST_F()
179 fd = open(FULLPATH, O_DIRECTORY); in TEST_F()
225 fd = open(FULLPATH, O_DIRECTORY); in TEST_F()
273 fd0 = open(FULLPATH, O_DIRECTORY); in TEST_F()
276 fd1 = open(FULLPATH, O_DIRECTORY); in TEST_F()
317 dir = opendir(FULLPATH); in TEST_F()
376 dir = opendir(FULLPATH); in TEST_F()
[all …]
H A Dreleasedir.cc55 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
75 dir = opendir(FULLPATH); in TEST_F()
87 const char FULLPATH[] = "mountpoint/some_dir"; in TEST_F() local
96 dir = opendir(FULLPATH); in TEST_F()
105 const char FULLPATH[] = "mountpoint/some_dir"; in TEST_F() local
114 fd = open(FULLPATH, O_EXEC | O_DIRECTORY); in TEST_F()
H A Dgetattr.cc78 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
102 EXPECT_EQ(0, stat(FULLPATH, &sb)); in TEST_F()
104 EXPECT_EQ(0, stat(FULLPATH, &sb)); in TEST_F()
114 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
135 EXPECT_EQ(0, stat(FULLPATH, &sb)); in TEST_F()
138 EXPECT_EQ(0, stat(FULLPATH, &sb)); in TEST_F()
147 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
173 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
193 EXPECT_NE(0, stat(FULLPATH, &sb)); in TEST_F()
202 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
[all …]
H A Dunlink.cc99 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
130 ASSERT_EQ(0, unlink(FULLPATH)) << strerror(errno); in TEST_F()
136 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
143 ASSERT_NE(0, unlink(FULLPATH)); in TEST_F()
152 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
159 ASSERT_EQ(0, unlink(FULLPATH)) << strerror(errno); in TEST_F()
160 ASSERT_EQ(0, access(FULLPATH, F_OK)) << strerror(errno); in TEST_F()
198 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
209 ASSERT_EQ(0, unlink(FULLPATH)) << strerror(errno); in TEST_F()
H A Dsymlink.cc102 const char FULLPATH[] = "mountpoint/src"; in TEST_F() local
126 EXPECT_EQ(0, symlink(dst, FULLPATH)) << strerror(errno); in TEST_F()
132 const char FULLPATH[] = "mountpoint/lnk"; in TEST_F() local
150 EXPECT_EQ(-1, symlink(dst, FULLPATH)); in TEST_F()
156 const char FULLPATH[] = "mountpoint/src"; in TEST_F() local
165 EXPECT_EQ(0, symlink(dst, FULLPATH)) << strerror(errno); in TEST_F()
170 const char FULLPATH[] = "mountpoint/src"; in TEST_F() local
179 EXPECT_EQ(0, symlink(dst, FULLPATH)) << strerror(errno); in TEST_F()
H A Dreadlink.cc72 const char FULLPATH[] = "mountpoint/src"; in TEST_F() local
80 EXPECT_EQ(-1, readlink(FULLPATH, buf, sizeof(buf))); in TEST_F()
86 const char FULLPATH[] = "mountpoint/src"; in TEST_F() local
99 readlink(FULLPATH, buf, sizeof(buf))); in TEST_F()
105 const char FULLPATH[] = "mountpoint/src"; in TEST_F() local
123 readlink(FULLPATH, buf, sizeof(buf))); in TEST_F()

12