Searched refs:kMountPath (Results 1 - 6 of 6) sorted by relevance

/fuchsia/zircon/system/utest/fs/
H A Dfilesystems.cpp26 const char* kMountPath = "/fs-test-tmp/mount"; variable
66 int r = mkdir(kMountPath, 0755);
136 if (test_info->mount(test_disk_path, kMountPath)) {
143 if (test_info->unmount(kMountPath)) {
236 if (stat(kMountPath, &st)) {
237 if (mkdir(kMountPath, 0644) < 0) {
243 int r = unlink_recursive(kMountPath);
248 return unlink_recursive(kMountPath);
H A Dmisc.c76 ASSERT_EQ(test_info->unmount(kMountPath), 0, "");
78 ASSERT_EQ(test_info->mount(test_disk_path, kMountPath), 0, "");
H A Dtest-minfs.cpp32 fbl::unique_fd fd(open(kMountPath, O_RDONLY | O_DIRECTORY));
102 snprintf(path, sizeof(path) - 1, "%s/file_%d", kMountPath, i);
119 fbl::unique_fd fd(open(kMountPath, O_RDONLY | O_DIRECTORY));
130 fbl::unique_fd fd(open(kMountPath, O_RDONLY | O_DIRECTORY));
143 fbl::unique_fd fd(open(kMountPath, O_RDONLY | O_DIRECTORY));
167 snprintf(path, sizeof(path) - 1, "%s/test-file", kMountPath);
263 fbl::unique_fd mnt_fd(open(kMountPath, O_RDONLY));
316 mnt_fd.reset(open(kMountPath, O_RDONLY));
381 mnt_fd.reset(open(kMountPath, O_RDONLY));
H A Dwrap.c70 if (strncmp(path_in, PATH_PREFIX, PREFIX_SIZE) || (kMountPath == NULL)) {
76 strncat(path_out, kMountPath, bytes_left);
77 bytes_left -= strlen(kMountPath);
H A Dfilesystems.h38 extern const char* kMountPath;
/fuchsia/zircon/system/utest/fvm/
H A Dfvm.cpp60 const char kMountPath[] = "/fvm-tmp/minfs_test_mountpath"; member in namespace:__anon1419
1931 ASSERT_NE(mount(vp_fd, kMountPath, disk_format, &default_mount_options,
1967 ASSERT_EQ(mount(vp_fd, kMountPath, disk_format, &default_mount_options,
1969 ASSERT_EQ(umount(kMountPath), ZX_OK);
2012 ASSERT_EQ(mkdir(kMountPath, 0666), 0);
2039 ASSERT_EQ(rmdir(kMountPath), 0);
2225 ASSERT_EQ(mkdir(kMountPath, 0666), 0);
2226 ASSERT_EQ(mount(vp_fd, kMountPath, DISK_FORMAT_MINFS, &default_mount_options,
2231 fbl::unique_fd rootfd(open(kMountPath, O_RDONLY | O_DIRECTORY));
2247 ASSERT_EQ(umount(kMountPath), ZX_O
[all...]

Completed in 37 milliseconds