Home
last modified time | relevance | path

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

12

/freebsd-12.1/tests/sys/fs/fusefs/
H A Ddefault_permissions.cc382 EXPECT_NE(0, chown(FULLPATH, 0, -1)); in TEST_F()
739 EXPECT_EQ(-1, access(FULLPATH, F_OK)); in TEST_F()
752 EXPECT_NE(0, open(FULLPATH, O_RDWR)); in TEST_F()
767 fd = open(FULLPATH, O_RDONLY); in TEST_F()
992 EXPECT_NE(0, chmod(FULLPATH, newmode)); in TEST_F()
1204 ASSERT_EQ(-1, unlink(FULLPATH)); in TEST_F()
1217 ASSERT_EQ(-1, unlink(FULLPATH)); in TEST_F()
1230 ASSERT_EQ(-1, unlink(FULLPATH)); in TEST_F()
1252 fd = open(FULLPATH, O_WRONLY); in TEST_F()
1278 fd = open(FULLPATH, O_WRONLY); in TEST_F()
[all …]
H A Dlookup.cc57 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
85 ASSERT_EQ(0, stat(FULLPATH, &sb)) << strerror(errno); in TEST_F()
118 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
143 const char FULLPATH[] = "mountpoint/some_dir/."; in TEST_F() local
165 const char FULLPATH[] = "mountpoint/some_dir/.."; in TEST_F() local
191 EXPECT_NE(0, access(FULLPATH, F_OK)); in TEST_F()
208 ASSERT_EQ(-1, access(FULLPATH, F_OK)); in TEST_F()
218 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
255 const char *FULLPATH = "mountpoint/does_not_exist"; in TEST_F() local
262 EXPECT_NE(0, access(FULLPATH, F_OK)); in TEST_F()
[all …]
H A Dlocks.cc129 fd = open(FULLPATH, O_RDWR); in TEST_F()
150 fd = open(FULLPATH, O_RDWR); in TEST_F()
169 fd = open(FULLPATH, O_RDWR); in TEST_F()
188 fd = open(FULLPATH, O_RDWR); in TEST_F()
210 fd = open(FULLPATH, O_RDWR); in TEST_F()
255 fd = open(FULLPATH, O_RDWR); in TEST_F()
301 fd = open(FULLPATH, O_RDWR); in TEST_F()
334 fd = open(FULLPATH, O_RDWR); in TEST_F()
360 fd = open(FULLPATH, O_RDWR); in TEST_F()
386 fd = open(FULLPATH, O_RDWR); in TEST_F()
[all …]
H A Daccess.cc62 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
71 ASSERT_NE(0, access(FULLPATH, access_mode)); in TEST_F()
82 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
90 ASSERT_EQ(0, access(FULLPATH, access_mode)) << strerror(errno); in TEST_F()
91 ASSERT_EQ(0, access(FULLPATH, access_mode)) << strerror(errno); in TEST_F()
96 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
104 ASSERT_NE(0, access(FULLPATH, access_mode)); in TEST_F()
111 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
120 ASSERT_EQ(0, access(FULLPATH, access_mode)) << strerror(errno); in TEST_F()
H A Dwrite.cc218 fd = open(FULLPATH, O_WRONLY); in TEST_F()
343 fd = open(FULLPATH, O_RDWR); in TEST_F()
508 fd = open(FULLPATH, O_RDWR); in TEST_F()
553 fd = open(FULLPATH, O_RDWR); in TEST_F()
607 fd = open(FULLPATH, O_RDWR); in TEST_F()
740 fd = open(FULLPATH, O_RDWR); in TEST_F()
777 fd = open(FULLPATH, O_RDWR); in TEST_F()
820 fd = open(FULLPATH, O_RDWR); in TEST_F()
876 fd = open(FULLPATH, O_RDWR); in TEST_F()
943 fd = open(FULLPATH, O_RDWR); in TEST_F()
[all …]
H A Dopendir.cc82 const char FULLPATH[] = "mountpoint/some_dir"; in TEST_F() local
89 ASSERT_EQ(-1, open(FULLPATH, O_DIRECTORY)); in TEST_F()
99 const char FULLPATH[] = "mountpoint/some_dir"; in TEST_F() local
106 EXPECT_NE(0, open(FULLPATH, O_DIRECTORY)); in TEST_F()
112 const char FULLPATH[] = "mountpoint/some_dir"; in TEST_F() local
123 fd = open(FULLPATH, O_DIRECTORY); in TEST_F()
132 const char FULLPATH[] = "mountpoint/some_dir"; in TEST_F() local
143 fd = open(FULLPATH, O_EXEC | O_DIRECTORY); in TEST_F()
151 const char FULLPATH[] = "mountpoint/some_dir"; in TEST_F() local
162 EXPECT_NE(nullptr, opendir(FULLPATH)) << strerror(errno); in TEST_F()
H A Dread.cc123 fd = open(FULLPATH, O_RDONLY); in TEST_F()
182 fd = open(FULLPATH, O_RDONLY); in TEST_F()
265 fd = open(FULLPATH, O_RDONLY); in TEST_F()
310 fd = open(FULLPATH, O_RDONLY); in TEST_F()
336 fd = open(FULLPATH, O_RDONLY); in TEST_F()
370 fd = open(FULLPATH, O_RDONLY); in TEST_F()
398 fd = open(FULLPATH, O_RDONLY); in TEST_F()
430 fd = open(FULLPATH, O_RDONLY); in TEST_F()
460 fd = open(FULLPATH, O_RDONLY); in TEST_F()
496 fd1 = open(FULLPATH, O_RDWR); 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 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 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 Dxattr.cc49 const char FULLPATH[] = "mountpoint/some_file.txt"; variable
393 extattr_list_file(FULLPATH, ns, buf, sizeof(buf))); in TEST_F()
459 extattr_list_file(FULLPATH, ns, buf, sizeof(buf)); in TEST_F()
481 ASSERT_EQ(0, extattr_list_file(FULLPATH, ns, NULL, 0)) in TEST_F()
512 ASSERT_EQ(4, extattr_list_file(FULLPATH, ns, NULL, 0)) in TEST_F()
565 ASSERT_EQ(8, extattr_list_file(FULLPATH, ns, NULL, 0)) in TEST_F()
594 ASSERT_EQ(4, extattr_list_file(FULLPATH, ns, NULL, 0)) in TEST_F()
650 extattr_list_file(FULLPATH, ns, data, sizeof(data))) in TEST_F()
682 extattr_list_file(FULLPATH, ns, data, sizeof(data))) in TEST_F()
730 ASSERT_EQ(0, extattr_delete_file(FULLPATH, ns, "foo")) in TEST_F()
[all …]
H A Dfsync.cc97 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
110 fd = open(FULLPATH, O_RDWR); in TEST_F()
131 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
159 fd = open(FULLPATH, O_RDWR); in TEST_F()
167 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
179 fd = open(FULLPATH, O_RDWR); in TEST_F()
195 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
207 fd = open(FULLPATH, O_RDWR); in TEST_F()
220 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
232 fd = open(FULLPATH, O_RDWR); in TEST_F()
[all …]
H A Dreaddir.cc68 const char FULLPATH[] = "mountpoint/some_dir"; in TEST_F() local
94 dir = opendir(FULLPATH); in TEST_F()
127 const char FULLPATH[] = "mountpoint/some_dir"; in TEST_F() local
145 dir = opendir(FULLPATH); in TEST_F()
159 const char FULLPATH[] = "mountpoint/some_dir"; in TEST_F() local
181 fd = open(FULLPATH, O_DIRECTORY); in TEST_F()
219 fd0 = open(FULLPATH, O_DIRECTORY); in TEST_F()
222 fd1 = open(FULLPATH, O_DIRECTORY); in TEST_F()
263 dir = opendir(FULLPATH); in TEST_F()
322 dir = opendir(FULLPATH); in TEST_F()
[all …]
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
219 fd = open(FULLPATH, O_RDWR); in TEST_F()
229 fd2 = open(FULLPATH, O_WRONLY); 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()
80 const char FULLPATH[] = "mountpoint/zero"; in TEST_F() local
94 ASSERT_EQ(-1, open(FULLPATH, O_RDONLY)); in TEST_F()
105 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
117 ASSERT_EQ(-1, open(FULLPATH, O_RDONLY)); in TEST_F()
127 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
139 ASSERT_EQ(-1, open(FULLPATH, O_RDONLY)); in TEST_F()
150 const static char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
191 fd1 = open(FULLPATH, O_RDONLY); in TEST_F()
[all …]
H A Drmdir.cc93 const char FULLPATH[] = "mountpoint/some_dir"; in TEST_F() local
118 ASSERT_EQ(0, rmdir(FULLPATH)) << strerror(errno); in TEST_F()
126 const char FULLPATH[] = "mountpoint/some_dir"; in TEST_F() local
134 ASSERT_NE(0, rmdir(FULLPATH)); in TEST_F()
141 const char FULLPATH[] = "mountpoint/some_dir"; in TEST_F() local
151 ASSERT_EQ(0, rmdir(FULLPATH)) << strerror(errno); in TEST_F()
152 ASSERT_EQ(0, access(FULLPATH, F_OK)) << strerror(errno); in TEST_F()
159 const char FULLPATH[] = "mountpoint/some_dir"; in TEST_F() local
171 ASSERT_EQ(0, rmdir(FULLPATH)) << strerror(errno); 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 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
170 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
183 EXPECT_NE(0, stat(FULLPATH, &sb)); in TEST_F()
189 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
[all …]
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 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 Dunlink.cc116 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
138 ASSERT_EQ(0, unlink(FULLPATH)) << strerror(errno); in TEST_F()
144 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
152 ASSERT_NE(0, unlink(FULLPATH)); in TEST_F()
161 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
169 ASSERT_EQ(0, unlink(FULLPATH)) << strerror(errno); in TEST_F()
170 ASSERT_EQ(0, access(FULLPATH, F_OK)) << strerror(errno); in TEST_F()
209 const char FULLPATH[] = "mountpoint/some_file.txt"; in TEST_F() local
221 ASSERT_EQ(0, unlink(FULLPATH)) << strerror(errno); in TEST_F()
H A Dmknod.cc48 const char FULLPATH[] = "mountpoint/some_file.txt"; variable
155 EXPECT_EQ(0, mknod(FULLPATH, mode, rdev)) << strerror(errno); in TEST_F()
163 EXPECT_EQ(0, mknod(FULLPATH, mode, rdev)) << strerror(errno); in TEST_F()
187 EXPECT_NE(0, mkfifo(FULLPATH, mode)); in TEST_F()
196 EXPECT_EQ(0, mkfifo(FULLPATH, mode)) << strerror(errno); in TEST_F()
216 strlcpy(sa.sun_path, FULLPATH, sizeof(sa.sun_path)); in TEST_F()
217 sa.sun_len = sizeof(FULLPATH); in TEST_F()
233 EXPECT_EQ(0, mknod(FULLPATH, mode, 0)) << strerror(errno); in TEST_F()
242 EXPECT_EQ(0, mkfifo(FULLPATH, mode)) << strerror(errno); in TEST_F()
H A 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()
H A Dnotify.cc181 const static char FULLPATH[] = "mountpoint/foo"; in TEST_F() local
195 ASSERT_EQ(0, stat(FULLPATH, &sb)) << strerror(errno); in TEST_F()
266 const static char FULLPATH[] = "mountpoint/foo"; in TEST_F() local
328 const static char FULLPATH[] = "mountpoint/foo"; in TEST_F() local
363 fd = open(FULLPATH, O_RDWR); in TEST_F()
414 const static char FULLPATH[] = "mountpoint/foo"; in TEST_F() local
430 fd = open(FULLPATH, O_RDWR); in TEST_F()
452 const static char FULLPATH[] = "mountpoint/foo"; in TEST_F() local
467 fd = open(FULLPATH, O_RDWR); in TEST_F()
493 const static char FULLPATH[] = "mountpoint/foo"; in TEST_F() local
[all …]

12