cleanup legacy tests
Some checks failed
Blockstorage/repertory/pipeline/head This commit looks good
BlockStorage/repertory/pipeline/head There was a failure building this commit

This commit is contained in:
2025-09-19 11:09:23 -05:00
parent d219b961a5
commit 7c6a8cad7b

View File

@@ -262,110 +262,3 @@
// EXPECT_EQ(ENODATA, errno);
// }
// #endif
//
// // file_path = create_file_and_test(mount_location,
// // "write_read_test");
// // test_write_and_read(utils::path::create_api_path("write_read_test"),
// // file_path);
// // unlink_file_and_test(file_path);
// //
// // file_path =
// // create_file_and_test(mount_location, "from_rename_file_test");
// // auto to_file_path =
// // utils::path::combine(mount_location, {"to_rename_file_test"});
// // test_rename_file(file_path, to_file_path,
// // provider_ptr->is_rename_supported());
// // EXPECT_TRUE(utils::file::file(file_path).remove());
// // EXPECT_TRUE(utils::file::file(to_file_path).remove());
// //
// // file_path =
// // utils::path::combine(mount_location,
// {"from_rename_dir_test"});
// // to_file_path =
// // utils::path::combine(mount_location, {"to_rename_dir_test"});
// // test_rename_directory(file_path, to_file_path,
// // provider_ptr->is_rename_supported());
// // EXPECT_TRUE(utils::file::retry_delete_directory(file_path.c_str()));
// // EXPECT_TRUE(utils::file::retry_delete_directory(to_file_path.c_str()));
// //
// // file_path = create_file_and_test(mount_location,
// // "truncate_file_test"); test_truncate(file_path);
// // unlink_file_and_test(file_path);
// //
// // file_path = create_file_and_test(mount_location,
// // "ftruncate_file_test"); test_ftruncate(file_path);
// // unlink_file_and_test(file_path);
// //
// // #if !defined(__APPLE__)
// // file_path = create_file_and_test(mount_location,
// // "fallocate_file_test");
// // test_fallocate(utils::path::create_api_path("fallocate_file_test"),
// // file_path);
// // unlink_file_and_test(file_path);
// // #endif
// //
// // file_path = create_file_and_test(mount_location,
// // "write_fails_ro_test"); test_write_operations_fail_if_read_only(
// // utils::path::create_api_path("write_fails_ro_test"),
// // file_path);
// // unlink_file_and_test(file_path);
// //
// // file_path = create_file_and_test(mount_location, "getattr.txt");
// // test_file_getattr(utils::path::create_api_path("getattr.txt"),
// // file_path);
// // unlink_file_and_test(file_path);
// //
// // file_path = utils::path::combine(mount_location, {"getattr_dir"});
// // test_directory_getattr(utils::path::create_api_path("getattr_dir"),
// // file_path);
// // rmdir_and_test(file_path);
// //
// // #if !__APPLE__ && HAS_SETXATTR
// // file_path =
// // create_file_and_test(mount_location,
// // "xattr_invalid_names_test");
// // test_xattr_invalid_parameters(file_path);
// // unlink_file_and_test(file_path);
// //
// // file_path =
// // create_file_and_test(mount_location, "xattr_create_get_test");
// // test_xattr_create_and_get(file_path);
// // unlink_file_and_test(file_path);
// //
// // file_path =
// // create_file_and_test(mount_location, "xattr_listxattr_test");
// // test_xattr_listxattr(file_path);
// // unlink_file_and_test(file_path);
// //
// // file_path = create_file_and_test(mount_location,
// // "xattr_replace_test"); test_xattr_replace(file_path);
// // unlink_file_and_test(file_path);
// //
// // file_path =
// // create_file_and_test(mount_location,
// // "xattr_default_create_test");
// // test_xattr_default_create(file_path);
// // unlink_file_and_test(file_path);
// //
// // file_path =
// // create_file_and_test(mount_location,
// // "xattr_default_replace_test");
// // test_xattr_default_replace(file_path);
// // unlink_file_and_test(file_path);
// //
// // file_path = create_file_and_test(mount_location,
// // "xattr_create_fails_exists_test");
// // test_xattr_create_fails_if_exists(file_path);
// // unlink_file_and_test(file_path);
// //
// // file_path = create_file_and_test(mount_location,
// // "xattr_create_fails_not_exists_test");
// // test_xattr_create_fails_if_not_exists(file_path);
// // unlink_file_and_test(file_path);
// //
// // file_path =
// // create_file_and_test(mount_location,
// "xattr_removexattr_test");
// // test_xattr_removexattr(file_path);
// // unlink_file_and_test(file_path);
// // #endif