Home
last modified time | relevance | path

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

12

/freebsd/tests/sys/fs/fusefs/
H A Dopendir.cc89 const char FULLPATH[] = "mountpoint/some_dir"; in TEST_F() local
102 ASSERT_EQ(-1, open(FULLPATH, O_DIRECTORY)); in TEST_F()
115 const char FULLPATH[] = "mountpoint/some_dir"; in TEST_F() local
122 EXPECT_EQ(-1, open(FULLPATH, O_DIRECTORY)); in TEST_F()
128 const char FULLPATH[] = "mountpoint/some_dir"; in TEST_F() local
139 fd = open(FULLPATH, O_DIRECTORY); in TEST_F()
148 const char FULLPATH[] = "mountpoint/some_dir"; in TEST_F() local
159 fd = open(FULLPATH, O_EXEC | O_DIRECTORY); in TEST_F()
193 EXPECT_EQ(-1, open(FULLPATH, O_DIRECTORY)); in TEST_F()
212 fd = open(FULLPATH, O_DIRECTORY); in TEST_F()
[all …]
H A Ddefault_permissions.cc861 fd = open(FULLPATH, O_WRONLY); in TEST_F()
895 fd = open(FULLPATH, O_WRONLY); in TEST_F()
974 fd = open(FULLPATH, O_RDONLY); in TEST_F()
1000 fd = open(FULLPATH, O_WRONLY); in TEST_F()
1030 fd = open(FULLPATH, O_WRONLY); in TEST_F()
1270 fd = open(FULLPATH, O_RDONLY); in TEST_F()
1535 ASSERT_EQ(-1, unlink(FULLPATH)); in TEST_F()
1548 ASSERT_EQ(-1, unlink(FULLPATH)); in TEST_F()
1583 fd = open(FULLPATH, O_WRONLY); in TEST_F()
1609 fd = open(FULLPATH, O_WRONLY); in TEST_F()
[all …]
H A Daccess.cc92 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
124 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
148 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
157 ASSERT_NE(0, access(FULLPATH, access_mode)); in TEST_F()
168 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
182 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
190 ASSERT_NE(0, access(FULLPATH, access_mode)); in TEST_F()
204 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
224 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
255 ASSERT_NE(0, unlink(FULLPATH)); in TEST_F()
[all …]
H A Dmknod.cc147 const char FULLPATH[] = "mountpoint/some_node"; in TEST_F() local
162 const char FULLPATH[] = "mountpoint/some_node"; in TEST_F() local
181 const char FULLPATH[] = "mountpoint/some_node"; in TEST_F() local
198 EXPECT_NE(0, mkfifo(FULLPATH, mode)); in TEST_F()
204 const char FULLPATH[] = "mountpoint/some_node"; in TEST_F() local
224 const char FULLPATH[] = "mountpoint/some_node"; in TEST_F() local
239 strlcpy(sa.sun_path, FULLPATH, sizeof(sa.sun_path)); in TEST_F()
240 sa.sun_len = sizeof(FULLPATH); in TEST_F()
276 sa.sun_len = sizeof(FULLPATH); in TEST_F()
291 const char FULLPATH[] = "mountpoint/some_node"; in TEST_F() local
[all …]
H A Dwrite.cc250 fd = open(FULLPATH, O_WRONLY); in TEST_F()
375 fd = open(FULLPATH, O_RDWR); in TEST_F()
641 fd = open(FULLPATH, O_RDWR); in TEST_F()
716 fd = open(FULLPATH, O_RDWR); in TEST_P()
762 fd = open(FULLPATH, O_RDWR); in TEST_F()
816 fd = open(FULLPATH, O_RDWR); in TEST_F()
951 fd = open(FULLPATH, O_RDWR); in TEST_F()
986 fd = open(FULLPATH, O_RDWR); in TEST_F()
1030 fd = open(FULLPATH, O_RDWR); in TEST_F()
1087 fd = open(FULLPATH, O_RDWR); in TEST_F()
[all …]
H A Dlseek.cc57 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
73 fd = open(FULLPATH, O_RDONLY); in TEST_F()
107 fd = open(FULLPATH, O_RDONLY); in TEST_F()
136 fd = open(FULLPATH, O_RDONLY); in TEST_F()
171 fd = open(FULLPATH, O_RDONLY); in TEST_F()
200 fd = open(FULLPATH, O_RDONLY); in TEST_F()
232 fd = open(FULLPATH, O_RDONLY); in TEST_F()
264 fd = open(FULLPATH, O_RDONLY); in TEST_F()
304 fd = open(FULLPATH, O_RDONLY); in TEST_F()
336 fd = open(FULLPATH, O_RDONLY); in TEST_F()
[all …]
H A Dfsyncdir.cc90 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
100 fd = open(FULLPATH, O_DIRECTORY); in TEST_F()
114 const char FULLPATH[] = "mountpoint/some_dir"; in TEST_F() local
123 fd = open(FULLPATH, O_DIRECTORY); in TEST_F()
138 const char FULLPATH[] = "mountpoint/some_dir"; in TEST_F() local
147 fd = open(FULLPATH, O_DIRECTORY); in TEST_F()
159 const char FULLPATH[] = "mountpoint/some_dir"; in TEST_F() local
168 fd = open(FULLPATH, O_DIRECTORY); in TEST_F()
181 const char FULLPATH[] = "mountpoint/some_dir"; in TEST_F() local
190 fd = open(FULLPATH, O_DIRECTORY); in TEST_F()
H A Dopen.cc49 const char FULLPATH[] = "mountpoint/some_file.txt"; in test_ok() local
67 fd = open(FULLPATH, os_flags); in test_ok()
87 const char FULLPATH[] = "mountpoint/zero"; in TEST_F() local
101 ASSERT_EQ(-1, open(FULLPATH, O_RDONLY)); in TEST_F()
131 ASSERT_EQ(-1, open(FULLPATH, O_RDONLY)); in TEST_F()
156 ASSERT_EQ(-1, open(FULLPATH, O_RDONLY)); in TEST_F()
208 fd1 = open(FULLPATH, O_RDONLY); in TEST_F()
213 fd0 = open(FULLPATH, O_RDONLY); in TEST_F()
304 fd = open(FULLPATH, O_RDONLY); in TEST_F()
333 fd = open(FULLPATH, O_RDONLY); in TEST_F()
[all …]
H A Dlocks.cc144 fd = open(FULLPATH, O_RDWR); in TEST_F()
165 fd = open(FULLPATH, O_RDWR); in TEST_F()
184 fd = open(FULLPATH, O_RDWR); in TEST_F()
203 fd = open(FULLPATH, O_RDWR); in TEST_F()
225 fd = open(FULLPATH, O_RDWR); in TEST_F()
275 fd = open(FULLPATH, O_RDWR); in TEST_F()
338 fd = open(FULLPATH, O_RDWR); in TEST_F()
395 fd = open(FULLPATH, O_RDWR); in TEST_F()
460 fd = open(FULLPATH, O_RDWR); in TEST_F()
501 fd = open(FULLPATH, O_RDWR); in TEST_F()
[all …]
H A Dread.cc173 fd = open(FULLPATH, O_RDONLY); in TEST_F()
232 fd = open(FULLPATH, O_RDONLY); in TEST_F()
315 fd = open(FULLPATH, O_RDONLY); in TEST_F()
363 fd = open(FULLPATH, O_RDONLY); in TEST_F()
397 fd = open(FULLPATH, O_RDONLY); in TEST_F()
453 fd = open(FULLPATH, O_RDONLY); in TEST_F()
495 fd = open(FULLPATH, O_RDONLY); in TEST_F()
540 fd = open(FULLPATH, O_RDONLY); in TEST_F()
752 fd1 = open(FULLPATH, O_RDWR); in TEST_F()
787 fd1 = open(FULLPATH, O_RDWR); in TEST_F()
[all …]
H A Dlookup.cc68 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
96 ASSERT_EQ(0, stat(FULLPATH, &sb)) << strerror(errno); in TEST_F()
132 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
157 const char FULLPATH[] = "mountpoint/some_dir/."; in TEST_F() local
179 const char FULLPATH[] = "mountpoint/some_dir/.."; in TEST_F() local
296 EXPECT_NE(0, access(FULLPATH, F_OK)); in TEST_F()
308 EXPECT_NE(0, access(FULLPATH, F_OK)); in TEST_F()
325 ASSERT_EQ(-1, access(FULLPATH, F_OK)); in TEST_F()
379 EXPECT_NE(0, access(FULLPATH, F_OK)); in TEST_F()
385 EXPECT_NE(0, access(FULLPATH, F_OK)); in TEST_F()
[all …]
H A Drelease.cc77 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
87 fd = open(FULLPATH, O_RDONLY); in TEST_F()
107 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
117 fd = open(FULLPATH, O_WRONLY); in TEST_F()
129 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
139 fd = open(FULLPATH, O_RDWR | O_APPEND); in TEST_F()
152 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
162 fd = open(FULLPATH, O_RDONLY); in TEST_F()
166 fd2 = open(FULLPATH, O_WRONLY); in TEST_F()
185 fd = open(FULLPATH, O_RDONLY); in TEST_F()
[all …]
H A Dfsync.cc96 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
109 fd = open(FULLPATH, O_RDWR); in TEST_F()
130 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
158 fd = open(FULLPATH, O_RDWR); in TEST_F()
166 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
178 fd = open(FULLPATH, O_RDWR); in TEST_F()
206 fd = open(FULLPATH, O_RDWR); in TEST_F()
231 fd = open(FULLPATH, O_RDWR); in TEST_F()
253 fd = open(FULLPATH, O_RDWR); in TEST_F()
276 fd1 = open(FULLPATH, O_WRONLY); in TEST_F()
[all …]
H A Dxattr.cc47 const char FULLPATH[] = "mountpoint/some_file.txt"; variable
377 extattr_list_file(FULLPATH, ns, buf, sizeof(buf))); in TEST_F()
443 extattr_list_file(FULLPATH, ns, buf, sizeof(buf)); in TEST_F()
465 ASSERT_EQ(0, extattr_list_file(FULLPATH, ns, NULL, 0)) in TEST_F()
496 ASSERT_EQ(4, extattr_list_file(FULLPATH, ns, NULL, 0)) in TEST_F()
549 ASSERT_EQ(8, extattr_list_file(FULLPATH, ns, NULL, 0)) in TEST_F()
578 ASSERT_EQ(4, extattr_list_file(FULLPATH, ns, NULL, 0)) in TEST_F()
634 extattr_list_file(FULLPATH, ns, data, sizeof(data))) in TEST_F()
666 extattr_list_file(FULLPATH, ns, data, sizeof(data))) in TEST_F()
714 ASSERT_EQ(0, extattr_delete_file(FULLPATH, ns, "foo")) in TEST_F()
[all …]
H A Dcreate.cc143 fd = open(FULLPATH, O_CREAT | O_EXCL, mode); in TEST_F()
151 const char FULLPATH[] = "mountpoint/src"; in TEST_F() local
184 fd = open(FULLPATH, O_CREAT | O_EXCL, mode); in TEST_F()
254 fd = open(FULLPATH, O_CREAT | O_EXCL, mode); in TEST_F()
288 fd = open(FULLPATH, O_CREAT | O_EXCL, mode); in TEST_F()
319 fd = open(FULLPATH, O_CREAT | O_EXCL, mode); in TEST_F()
366 fd = open(FULLPATH, O_CREAT | O_EXCL, mode); in TEST_F()
407 fd = open(FULLPATH, O_CREAT | O_EXCL, mode); in TEST_F()
439 fd = open(FULLPATH, O_CREAT | O_WRONLY, mode); in TEST_F()
466 fd = open(FULLPATH, O_CREAT | O_EXCL, mode); in TEST_F()
[all …]
H A Dfallocate.cc199 fd = open(FULLPATH, O_RDWR); in TEST_F()
244 fd = open(FULLPATH, O_RDWR); in TEST_F()
295 fd = open(FULLPATH, O_RDWR); in TEST_F()
330 fd = open(FULLPATH, O_RDWR); in TEST_F()
371 fd = open(FULLPATH, O_RDWR); in TEST_F()
399 fd = open(FULLPATH, O_RDWR); in TEST_F()
432 fd = open(FULLPATH, O_RDWR); in TEST_F()
472 fd = open(FULLPATH, O_RDWR); in TEST_P()
521 fd = open(FULLPATH, O_RDWR); in TEST_F()
558 fd = open(FULLPATH, O_RDWR); in TEST_F()
[all …]
H A Drmdir.cc75 const char FULLPATH[] = "mountpoint/some_dir"; in TEST_F() local
109 ASSERT_EQ(0, rmdir(FULLPATH)) << strerror(errno); in TEST_F()
117 const char FULLPATH[] = "mountpoint/some_dir"; in TEST_F() local
124 ASSERT_NE(0, rmdir(FULLPATH)); in TEST_F()
131 const char FULLPATH[] = "mountpoint/some_dir"; in TEST_F() local
140 ASSERT_EQ(0, rmdir(FULLPATH)) << strerror(errno); in TEST_F()
141 ASSERT_EQ(0, access(FULLPATH, F_OK)) << strerror(errno); in TEST_F()
148 const char FULLPATH[] = "mountpoint/some_dir"; in TEST_F() local
159 ASSERT_EQ(0, rmdir(FULLPATH)) << strerror(errno); in TEST_F()
H A Dreaddir.cc93 dir = opendir(FULLPATH); in TEST_F()
138 dir = opendir(FULLPATH); in TEST_F()
177 fd = open(FULLPATH, O_DIRECTORY); in TEST_F()
223 fd = open(FULLPATH, O_DIRECTORY); in TEST_F()
271 fd0 = open(FULLPATH, O_DIRECTORY); in TEST_F()
274 fd1 = open(FULLPATH, O_DIRECTORY); in TEST_F()
315 dir = opendir(FULLPATH); in TEST_F()
350 dir = opendir(FULLPATH); in TEST_F()
418 dir = opendir(FULLPATH); in TEST_F()
470 dir = opendir(FULLPATH); in TEST_F()
[all …]
H A Dreadlink.cc70 const char FULLPATH[] = "mountpoint/src"; in TEST_F() local
78 EXPECT_EQ(-1, readlink(FULLPATH, buf, sizeof(buf))); in TEST_F()
89 const char FULLPATH[] = "mountpoint/src"; in TEST_F() local
115 EXPECT_EQ(-1, readlink(FULLPATH, buf, sizeof(buf))); in TEST_F()
117 EXPECT_EQ(-1, access(FULLPATH, R_OK)); in TEST_F()
123 const char FULLPATH[] = "mountpoint/src"; in TEST_F() local
136 readlink(FULLPATH, buf, sizeof(buf))); in TEST_F()
142 const char FULLPATH[] = "mountpoint/src"; in TEST_F() local
160 readlink(FULLPATH, buf, sizeof(buf))); in TEST_F()
H A Dmkdir.cc55 const char FULLPATH[] = "mountpoint/some_dir"; in TEST_F() local
73 ASSERT_NE(1, mkdir(FULLPATH, mode)); in TEST_F()
82 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
114 ASSERT_EQ(0, mkdir(FULLPATH, mode)) << strerror(errno); in TEST_F()
122 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
151 ASSERT_EQ(0, mkdir(FULLPATH, mode)) << strerror(errno); in TEST_F()
161 const char FULLPATH[] = "mountpoint/some_dir"; in TEST_F() local
191 ASSERT_EQ(0, mkdir(FULLPATH, mode)) << strerror(errno); in TEST_F()
201 const char FULLPATH[] = "mountpoint/parent/some_dir"; in TEST_F() local
242 ASSERT_EQ(-1, mkdir(FULLPATH, mode)); in TEST_F()
[all …]
H A Dflush.cc92 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
102 fd = open(FULLPATH, O_WRONLY); in TEST_F()
105 fd2 = open(FULLPATH, O_WRONLY); in TEST_F()
122 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
132 fd = open(FULLPATH, O_WRONLY); in TEST_F()
176 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
186 fd = open(FULLPATH, O_WRONLY); in TEST_F()
198 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
227 fd = open(FULLPATH, O_RDWR); in TEST_F()
237 fd2 = open(FULLPATH, O_WRONLY); in TEST_F()
H A Dsymlink.cc101 const char FULLPATH[] = "mountpoint/src"; in TEST_F() local
125 EXPECT_EQ(0, symlink(dst, FULLPATH)) << strerror(errno); in TEST_F()
131 const char FULLPATH[] = "mountpoint/lnk"; in TEST_F() local
149 EXPECT_EQ(-1, symlink(dst, FULLPATH)); in TEST_F()
155 const char FULLPATH[] = "mountpoint/src"; in TEST_F() local
164 EXPECT_EQ(0, symlink(dst, FULLPATH)) << strerror(errno); in TEST_F()
174 const char FULLPATH[] = "mountpoint/parent/src"; in TEST_F() local
189 EXPECT_EQ(-1, symlink(dst, FULLPATH)); in TEST_F()
198 const char FULLPATH[] = "mountpoint/src"; in TEST_F() local
207 EXPECT_EQ(0, symlink(dst, FULLPATH)) << strerror(errno); in TEST_F()
H A Dnfs.cc73 const char FULLPATH[] = "mountpoint/some_dir/."; in TEST_F() local
103 ASSERT_EQ(0, getfh(FULLPATH, &fhp)) << strerror(errno); in TEST_F()
111 const char FULLPATH[] = "mountpoint/some_dir/."; in TEST_F() local
150 const char FULLPATH[] = "mountpoint/some_dir/."; in TEST_F() local
176 const char FULLPATH[] = "mountpoint/some_dir/."; in TEST_F() local
222 const char FULLPATH[] = "mountpoint/some_dir/."; in TEST_F() local
238 ASSERT_EQ(-1, getfh(FULLPATH, &fhp)); in TEST_F()
245 const char FULLPATH[] = "mountpoint/some_dir/."; in TEST_F() local
260 ASSERT_NE(0, getfh(FULLPATH, &fhp)); in TEST_F()
267 const char FULLPATH[] = "mountpoint/some_dir/."; in TEST_F() local
[all …]
H A Dreleasedir.cc53 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
73 dir = opendir(FULLPATH); in TEST_F()
85 const char FULLPATH[] = "mountpoint/some_dir"; in TEST_F() local
94 dir = opendir(FULLPATH); in TEST_F()
103 const char FULLPATH[] = "mountpoint/some_dir"; in TEST_F() local
112 fd = open(FULLPATH, O_EXEC | O_DIRECTORY); in TEST_F()
H A Dgetattr.cc76 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
100 EXPECT_EQ(0, stat(FULLPATH, &sb)); in TEST_F()
102 EXPECT_EQ(0, stat(FULLPATH, &sb)); in TEST_F()
112 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
133 EXPECT_EQ(0, stat(FULLPATH, &sb)); in TEST_F()
136 EXPECT_EQ(0, stat(FULLPATH, &sb)); in TEST_F()
145 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
171 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
191 EXPECT_NE(0, stat(FULLPATH, &sb)); in TEST_F()
200 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
[all …]

12