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 Ddefault_permissions.cc274 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
282 ASSERT_NE(0, access(FULLPATH, access_mode)); in TEST_F()
288 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
302 ASSERT_NE(0, access(FULLPATH, access_mode)); in TEST_F()
308 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
320 ASSERT_EQ(0, access(FULLPATH, access_mode)) << strerror(errno); in TEST_F()
326 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
348 EXPECT_EQ(0, chown(FULLPATH, uid, -1)) << strerror(errno); in TEST_F()
357 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
382 EXPECT_EQ(0, chown(FULLPATH, uid, -1)) << strerror(errno); in TEST_F()
[all …]
H A Daccess.cc92 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
112 EXPECT_EQ(0, chmod(FULLPATH, newmode)) << strerror(errno); in TEST_F()
124 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
141 EXPECT_EQ(-1, open(FULLPATH, O_CREAT | O_EXCL, mode)); in TEST_F()
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
176 ASSERT_EQ(0, access(FULLPATH, access_mode)) << strerror(errno); in TEST_F()
177 ASSERT_EQ(0, access(FULLPATH, access_mode)) << strerror(errno); in TEST_F()
182 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
[all …]
H A Dopendir.cc82 const char FULLPATH[] = "mountpoint/some_dir"; in TEST_F() local
95 ASSERT_EQ(-1, open(FULLPATH, O_DIRECTORY)); in TEST_F()
108 const char FULLPATH[] = "mountpoint/some_dir"; in TEST_F() local
115 EXPECT_EQ(-1, open(FULLPATH, O_DIRECTORY)); in TEST_F()
121 const char FULLPATH[] = "mountpoint/some_dir"; in TEST_F() local
132 fd = open(FULLPATH, O_DIRECTORY); in TEST_F()
141 const char FULLPATH[] = "mountpoint/some_dir"; in TEST_F() local
152 fd = open(FULLPATH, O_EXEC | O_DIRECTORY); in TEST_F()
160 const char FULLPATH[] = "mountpoint/some_dir"; in TEST_F() local
171 EXPECT_NE(nullptr, opendir(FULLPATH)) << strerror(errno); 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()
90 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
108 fd = open(FULLPATH, O_RDONLY); in TEST_F()
124 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
146 EXPECT_EQ(-1, pathconf(FULLPATH, _PC_MIN_HOLE_SIZE)); in TEST_F()
149 EXPECT_EQ(-1, pathconf(FULLPATH, _PC_MIN_HOLE_SIZE)); in TEST_F()
159 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
175 fd = open(FULLPATH, O_RDONLY); in TEST_F()
193 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
[all …]
H A Dwrite.cc237 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
250 fd = open(FULLPATH, O_WRONLY); in TEST_F()
276 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
292 fd = open(FULLPATH, O_RDWR | O_APPEND); in TEST_F()
303 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
323 fd = open(FULLPATH, O_RDWR | O_APPEND); in TEST_F()
340 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
351 fd = open(FULLPATH, O_WRONLY | O_APPEND); in TEST_F()
361 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
375 fd = open(FULLPATH, O_RDWR); in TEST_F()
[all …]
H A Dmknod.cc147 const char FULLPATH[] = "mountpoint/some_node"; in TEST_F() local
157 EXPECT_EQ(0, mknod(FULLPATH, mode, rdev)) << strerror(errno); in TEST_F()
162 const char FULLPATH[] = "mountpoint/some_node"; in TEST_F() local
172 EXPECT_EQ(0, mknod(FULLPATH, mode, rdev)) << strerror(errno); in TEST_F()
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
214 EXPECT_EQ(0, mkfifo(FULLPATH, mode)) << strerror(errno); in TEST_F()
224 const char FULLPATH[] = "mountpoint/some_node"; in TEST_F() local
239 strlcpy(sa.sun_path, FULLPATH, sizeof(sa.sun_path)); in TEST_F()
[all …]
H A Dlocks.cc136 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
144 fd = open(FULLPATH, O_RDWR); in TEST_F()
157 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
165 fd = open(FULLPATH, O_RDWR); in TEST_F()
175 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
184 fd = open(FULLPATH, O_RDWR); in TEST_F()
194 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
203 fd = open(FULLPATH, O_RDWR); in TEST_F()
216 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
225 fd = 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
148 ASSERT_EQ(0, access(FULLPATH, F_OK)) << strerror(errno); in TEST_F()
152 ASSERT_EQ(0, stat(FULLPATH, &sb)) << strerror(errno); in TEST_F()
157 const char FULLPATH[] = "mountpoint/some_dir/."; in TEST_F() local
174 ASSERT_EQ(0, access(FULLPATH, F_OK)) << strerror(errno); in TEST_F()
179 const char FULLPATH[] = "mountpoint/some_dir/.."; in TEST_F() local
195 ASSERT_EQ(0, access(FULLPATH, F_OK)) << strerror(errno); in TEST_F()
286 const char FULLPATH[] = "mountpoint/does_not_exist"; in TEST_F() local
[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 Dxattr.cc47 const char FULLPATH[] = "mountpoint/some_file.txt"; variable
179 r = extattr_get_file(FULLPATH, ns, "foo", data, sizeof(data)); in TEST_F()
199 r = extattr_get_file(FULLPATH, ns, "foo", data, sizeof(data)); in TEST_F()
204 r = extattr_get_file(FULLPATH, ns, "foo", data, sizeof(data)); in TEST_F()
232 r = extattr_get_file(FULLPATH, ns, "foo", data, sizeof(data)); in TEST_F()
254 ASSERT_EQ(99, extattr_get_file(FULLPATH, ns, "foo", NULL, 0)) in TEST_F()
278 r = extattr_get_file(FULLPATH, ns, "foo", data, sizeof(data)); in TEST_F()
303 r = extattr_get_file(FULLPATH, ns, "foo", data, sizeof(data)); in TEST_F()
321 ASSERT_EQ(-1, extattr_list_file(FULLPATH, ns, NULL, 0)); in TEST_F()
325 ASSERT_EQ(-1, extattr_list_file(FULLPATH, ns, NULL, 0)); 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()
194 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
206 fd = open(FULLPATH, O_RDWR); in TEST_F()
219 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
231 fd = open(FULLPATH, O_RDWR); in TEST_F()
[all …]
H A Dread.cc167 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
180 fd = open(FULLPATH, O_RDONLY); in TEST_F()
201 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
239 fd = open(FULLPATH, O_RDONLY); in TEST_F()
281 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
322 fd = open(FULLPATH, O_RDONLY); in TEST_F()
357 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
370 fd = open(FULLPATH, O_RDONLY); in TEST_F()
391 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
404 fd = open(FULLPATH, O_RDONLY); 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()
175 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
[all …]
H A Dcreate.cc118 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
143 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()
198 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
205 EXPECT_EQ(-1, open(FULLPATH, O_CREAT | O_EXCL, mode)); in TEST_F()
215 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
254 fd = open(FULLPATH, O_CREAT | O_EXCL, mode); in TEST_F()
264 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
288 fd = open(FULLPATH, O_CREAT | O_EXCL, mode); in TEST_F()
[all …]
H A Dopen.cc49 const char FULLPATH[] = "mountpoint/some_file.txt"; in test_ok() local
67 fd = open(FULLPATH, os_flags); in test_ok()
79 const char FULLPATH[] = "mountpoint/zero"; in TEST_F() local
93 ASSERT_EQ(-1, open(FULLPATH, O_RDONLY)); in TEST_F()
104 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
123 ASSERT_EQ(-1, open(FULLPATH, O_RDONLY)); in TEST_F()
136 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
148 ASSERT_EQ(-1, open(FULLPATH, O_RDONLY)); in TEST_F()
159 const static char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
200 fd1 = open(FULLPATH, O_RDONLY); in TEST_F()
[all …]
H A Dfallocate.cc179 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
199 fd = open(FULLPATH, O_RDWR); in TEST_F()
222 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
244 fd = open(FULLPATH, O_RDWR); in TEST_F()
268 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
295 fd = open(FULLPATH, O_RDWR); in TEST_F()
320 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
354 fd = open(FULLPATH, O_RDWR); in TEST_F()
366 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
381 fd = open(FULLPATH, O_RDWR); in TEST_F()
[all …]
H A Dreaddir.cc69 const char FULLPATH[] = "mountpoint/some_dir"; in TEST_F() local
93 dir = opendir(FULLPATH); in TEST_F()
120 const char FULLPATH[] = "mountpoint/some_dir"; in TEST_F() local
138 dir = opendir(FULLPATH); in TEST_F()
155 const char FULLPATH[] = "mountpoint/some_dir"; in TEST_F() local
177 fd = open(FULLPATH, O_DIRECTORY); in TEST_F()
191 const char FULLPATH[] = "mountpoint/some_dir"; in TEST_F() local
223 fd = open(FULLPATH, O_DIRECTORY); in TEST_F()
248 const char FULLPATH[] = "mountpoint/some_dir"; in TEST_F() local
271 fd0 = open(FULLPATH, O_DIRECTORY); 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 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
141 ASSERT_EQ(0, getfh(FULLPATH, &fhp)) << strerror(errno); in TEST_F()
150 const char FULLPATH[] = "mountpoint/some_dir/."; in TEST_F() local
172 ASSERT_EQ(0, getfh(FULLPATH, &fhp)) << strerror(errno); in TEST_F()
180 const char FULLPATH[] = "mountpoint/some_dir/."; in TEST_F() local
198 ASSERT_EQ(0, getfh(FULLPATH, &fhp)) << strerror(errno); in TEST_F()
206 const char FULLPATH[] = "mountpoint/some_dir/."; in TEST_F() local
235 ASSERT_EQ(0, getfh(FULLPATH, &fhp)) << strerror(errno); 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()
156 ASSERT_EQ(0, access(FULLPATH, F_OK)) << 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
[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 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
165 ASSERT_EQ(0, stat(FULLPATH, &sb)) << strerror(errno); in TEST_F()
171 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
191 EXPECT_NE(0, stat(FULLPATH, &sb)); in TEST_F()
[all …]
H A Dunlink.cc96 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F()
127 ASSERT_EQ(0, unlink(FULLPATH)) << strerror(errno); in TEST_F()
133 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F()
140 ASSERT_NE(0, unlink(FULLPATH)); in TEST_F()
149 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F()
156 ASSERT_EQ(0, unlink(FULLPATH)) << strerror(errno); in TEST_F()
157 ASSERT_EQ(0, access(FULLPATH, F_OK)) << strerror(errno); in TEST_F()
195 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F()
206 ASSERT_EQ(0, unlink(FULLPATH)) << strerror(errno); in TEST_F()
97 const char FULLPATH[] = "mountpoint/some_file.txt"; TEST_F() local
134 const char FULLPATH[] = "mountpoint/some_file.txt"; TEST_F() local
150 const char FULLPATH[] = "mountpoint/some_file.txt"; TEST_F() local
196 const char FULLPATH[] = "mountpoint/some_file.txt"; TEST_F() local

12