Home
last modified time | relevance | path

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

12

/freebsd-12-stable/tests/sys/fs/fusefs/
Ddefault_permissions.cc253 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
261 ASSERT_NE(0, access(FULLPATH, access_mode)); in TEST_F()
267 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
281 ASSERT_NE(0, access(FULLPATH, access_mode)); in TEST_F()
287 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
299 ASSERT_EQ(0, access(FULLPATH, access_mode)) << strerror(errno); in TEST_F()
305 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
327 EXPECT_EQ(0, chown(FULLPATH, uid, -1)) << strerror(errno); in TEST_F()
336 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
361 EXPECT_EQ(0, chown(FULLPATH, uid, -1)) << strerror(errno); in TEST_F()
[all …]
Daccess.cc94 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
114 EXPECT_EQ(0, chmod(FULLPATH, newmode)) << strerror(errno); in TEST_F()
126 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
143 EXPECT_EQ(-1, open(FULLPATH, O_CREAT | O_EXCL, mode)); in TEST_F()
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
178 ASSERT_EQ(0, access(FULLPATH, access_mode)) << strerror(errno); in TEST_F()
179 ASSERT_EQ(0, access(FULLPATH, access_mode)) << strerror(errno); in TEST_F()
184 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
[all …]
Dmknod.cc148 const char FULLPATH[] = "mountpoint/some_node"; in TEST_F() local
158 EXPECT_EQ(0, mknod(FULLPATH, mode, rdev)) << strerror(errno); in TEST_F()
163 const char FULLPATH[] = "mountpoint/some_node"; in TEST_F() local
173 EXPECT_EQ(0, mknod(FULLPATH, mode, rdev)) << strerror(errno); in TEST_F()
182 const char FULLPATH[] = "mountpoint/some_node"; in TEST_F() local
199 EXPECT_NE(0, mkfifo(FULLPATH, mode)); in TEST_F()
205 const char FULLPATH[] = "mountpoint/some_node"; in TEST_F() local
215 EXPECT_EQ(0, mkfifo(FULLPATH, mode)) << strerror(errno); in TEST_F()
225 const char FULLPATH[] = "mountpoint/some_node"; in TEST_F() local
240 strlcpy(sa.sun_path, FULLPATH, sizeof(sa.sun_path)); in TEST_F()
[all …]
Dwrite.cc209 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
222 fd = open(FULLPATH, O_WRONLY); in TEST_F()
248 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
264 fd = open(FULLPATH, O_RDWR | O_APPEND); in TEST_F()
275 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
297 fd = open(FULLPATH, O_RDWR | O_APPEND); in TEST_F()
314 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
325 fd = open(FULLPATH, O_WRONLY | O_APPEND); in TEST_F()
335 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
349 fd = open(FULLPATH, O_RDWR); in TEST_F()
[all …]
Dlocks.cc138 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
146 fd = open(FULLPATH, O_RDWR); in TEST_F()
159 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
167 fd = open(FULLPATH, O_RDWR); in TEST_F()
177 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
186 fd = open(FULLPATH, O_RDWR); in TEST_F()
196 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
205 fd = open(FULLPATH, O_RDWR); in TEST_F()
218 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
227 fd = open(FULLPATH, O_RDWR); in TEST_F()
[all …]
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
147 ASSERT_EQ(0, access(FULLPATH, F_OK)) << strerror(errno); in TEST_F()
151 ASSERT_EQ(0, stat(FULLPATH, &sb)) << strerror(errno); in TEST_F()
156 const char FULLPATH[] = "mountpoint/some_dir/."; in TEST_F() local
173 ASSERT_EQ(0, access(FULLPATH, F_OK)) << strerror(errno); in TEST_F()
178 const char FULLPATH[] = "mountpoint/some_dir/.."; in TEST_F() local
194 ASSERT_EQ(0, access(FULLPATH, F_OK)) << strerror(errno); in TEST_F()
285 const char FULLPATH[] = "mountpoint/does_not_exist"; in TEST_F() local
[all …]
Dopendir.cc84 const char FULLPATH[] = "mountpoint/some_dir"; in TEST_F() local
97 ASSERT_EQ(-1, open(FULLPATH, O_DIRECTORY)); in TEST_F()
110 const char FULLPATH[] = "mountpoint/some_dir"; in TEST_F() local
117 EXPECT_EQ(-1, open(FULLPATH, O_DIRECTORY)); in TEST_F()
123 const char FULLPATH[] = "mountpoint/some_dir"; in TEST_F() local
134 fd = open(FULLPATH, O_DIRECTORY); in TEST_F()
143 const char FULLPATH[] = "mountpoint/some_dir"; in TEST_F() local
154 fd = open(FULLPATH, O_EXEC | O_DIRECTORY); in TEST_F()
162 const char FULLPATH[] = "mountpoint/some_dir"; in TEST_F() local
173 EXPECT_NE(nullptr, opendir(FULLPATH)) << strerror(errno); in TEST_F()
Dxattr.cc49 const char FULLPATH[] = "mountpoint/some_file.txt"; variable
181 r = extattr_get_file(FULLPATH, ns, "foo", data, sizeof(data)); in TEST_F()
201 r = extattr_get_file(FULLPATH, ns, "foo", data, sizeof(data)); in TEST_F()
206 r = extattr_get_file(FULLPATH, ns, "foo", data, sizeof(data)); in TEST_F()
234 r = extattr_get_file(FULLPATH, ns, "foo", data, sizeof(data)); in TEST_F()
256 ASSERT_EQ(99, extattr_get_file(FULLPATH, ns, "foo", NULL, 0)) in TEST_F()
280 r = extattr_get_file(FULLPATH, ns, "foo", data, sizeof(data)); in TEST_F()
305 r = extattr_get_file(FULLPATH, ns, "foo", data, sizeof(data)); in TEST_F()
323 ASSERT_EQ(-1, extattr_list_file(FULLPATH, ns, NULL, 0)); in TEST_F()
327 ASSERT_EQ(-1, extattr_list_file(FULLPATH, ns, NULL, 0)); in TEST_F()
[all …]
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()
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()
196 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
208 fd = open(FULLPATH, O_RDWR); in TEST_F()
221 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
233 fd = open(FULLPATH, O_RDWR); in TEST_F()
[all …]
Dread.cc154 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
167 fd = open(FULLPATH, O_RDONLY); in TEST_F()
188 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
226 fd = open(FULLPATH, O_RDONLY); in TEST_F()
268 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
309 fd = open(FULLPATH, O_RDONLY); in TEST_F()
344 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
357 fd = open(FULLPATH, O_RDONLY); in TEST_F()
378 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
391 fd = open(FULLPATH, O_RDONLY); in TEST_F()
[all …]
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()
177 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
[all …]
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()
200 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
207 EXPECT_EQ(-1, open(FULLPATH, O_CREAT | O_EXCL, mode)); in TEST_F()
217 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
256 fd = open(FULLPATH, O_CREAT | O_EXCL, mode); in TEST_F()
266 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
290 fd = open(FULLPATH, O_CREAT | O_EXCL, mode); in TEST_F()
[all …]
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()
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()
175 const char FULLPATH[] = "mountpoint/parent/src"; in TEST_F() local
186 EXPECT_EQ(-1, symlink(dst, FULLPATH)); in TEST_F()
192 const char FULLPATH[] = "mountpoint/src"; in TEST_F() local
201 EXPECT_EQ(0, symlink(dst, FULLPATH)) << strerror(errno); in TEST_F()
Dopen.cc51 const char FULLPATH[] = "mountpoint/some_file.txt"; in test_ok() local
69 fd = open(FULLPATH, os_flags); in test_ok()
82 const char FULLPATH[] = "mountpoint/zero"; in TEST_F() local
96 ASSERT_EQ(-1, open(FULLPATH, O_RDONLY)); in TEST_F()
107 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
126 ASSERT_EQ(-1, open(FULLPATH, O_RDONLY)); in TEST_F()
139 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
151 ASSERT_EQ(-1, open(FULLPATH, O_RDONLY)); in TEST_F()
162 const static char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
203 fd1 = open(FULLPATH, O_RDONLY); in TEST_F()
[all …]
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()
203 const char FULLPATH[] = "mountpoint/parent/some_dir"; in TEST_F() local
[all …]
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()
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
143 ASSERT_EQ(0, getfh(FULLPATH, &fhp)) << strerror(errno); in TEST_F()
152 const char FULLPATH[] = "mountpoint/some_dir/."; in TEST_F() local
170 ASSERT_EQ(0, getfh(FULLPATH, &fhp)) << strerror(errno); in TEST_F()
178 const char FULLPATH[] = "mountpoint/some_dir/."; in TEST_F() local
207 ASSERT_EQ(0, getfh(FULLPATH, &fhp)) << strerror(errno); in TEST_F()
224 const char FULLPATH[] = "mountpoint/some_dir/."; in TEST_F() local
240 ASSERT_EQ(-1, getfh(FULLPATH, &fhp)); in TEST_F()
[all …]
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()
157 const char FULLPATH[] = "mountpoint/some_dir"; in TEST_F() local
179 fd = open(FULLPATH, O_DIRECTORY); in TEST_F()
193 const char FULLPATH[] = "mountpoint/some_dir"; in TEST_F() local
225 fd = open(FULLPATH, O_DIRECTORY); in TEST_F()
250 const char FULLPATH[] = "mountpoint/some_dir"; in TEST_F() local
273 fd0 = open(FULLPATH, O_DIRECTORY); in TEST_F()
[all …]
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
167 ASSERT_EQ(0, stat(FULLPATH, &sb)) << strerror(errno); in TEST_F()
173 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
193 EXPECT_NE(0, stat(FULLPATH, &sb)); in TEST_F()
[all …]
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()
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()
Dallow_other.cc51 const static char FULLPATH[] = "mountpoint/some_file.txt"; variable
92 fd = open(FULLPATH, O_RDONLY); in TEST_F()
121 eaccess(FULLPATH, F_OK); in TEST_F()
170 fd1 = open(FULLPATH, O_RDONLY); in TEST_F()
175 fd0 = open(FULLPATH, O_RDONLY); in TEST_F()
201 fd = open(FULLPATH, O_RDONLY); in TEST_F()
238 dfd = open(FULLPATH, O_DIRECTORY); in TEST_F()
286 ASSERT_EQ(0, access(FULLPATH, F_OK)) << strerror(errno); in TEST_F()
293 r = extattr_set_file(FULLPATH, ns, "foo", in TEST_F()
Dforget.cc64 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
88 ASSERT_EQ(0, access(FULLPATH, F_OK)) << strerror(errno); in TEST_F()
89 ASSERT_EQ(0, access(FULLPATH, F_OK)) << strerror(errno); in TEST_F()
91 reclaim_vnode(FULLPATH); in TEST_F()
155 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
172 ASSERT_EQ(0, access(FULLPATH, F_OK)) << strerror(errno); in TEST_F()
178 ASSERT_EQ(0, access(FULLPATH, F_OK)) << strerror(errno); in TEST_F()

12