Home
last modified time | relevance | path

Searched refs:test_disk_path (Results 1 – 5 of 5) sorted by relevance

/system/utest/fs/
A Dfilesystems.cpp30 char test_disk_path[PATH_MAX]; variable
76 if (create_ramdisk(disk.block_size, disk.block_count, test_disk_path) != ZX_OK) { in setup_fs_test()
83 ramdisk_path = test_disk_path; in setup_fs_test()
87 int fd = open(test_disk_path, O_RDWR); in setup_fs_test()
100 snprintf(fvm_disk_path, sizeof(fvm_disk_path), "%s/fvm", test_disk_path); in setup_fs_test()
102 fprintf(stderr, "[FAILED]: FVM driver never appeared at %s\n", test_disk_path); in setup_fs_test()
140 if (test_info->mkfs(test_disk_path)) { in setup_fs_test()
145 if (test_info->mount(test_disk_path, kMountPath)) { in setup_fs_test()
157 if (test_info->fsck(test_disk_path)) { in teardown_fs_test()
172 strcpy(test_disk_path, fvm_disk_path); in teardown_fs_test()
[all …]
A Dmain.cpp44 } else if (ioctl_device_get_topo_path(fd.get(), test_disk_path, PATH_MAX) < 0) { in main()
54 fvm_destroy(test_disk_path); in main()
A Dmisc.c77 ASSERT_EQ(test_info->fsck(test_disk_path), 0, ""); in check_remount()
78 ASSERT_EQ(test_info->mount(test_disk_path, kMountPath), 0, ""); in check_remount()
A Dfilesystems.h41 extern char test_disk_path[];
/system/utest/fvm/
A Dfvm.cpp65 static char test_disk_path[PATH_MAX]; variable
80 strcpy(disk_path_out, test_disk_path); in StartFVMTest()
3018 } else if (ioctl_device_get_topo_path(fd, test_disk_path, PATH_MAX) < 0) { in main()
3032 fvm_destroy(test_disk_path); in main()

Completed in 13 milliseconds