From 0f7dfc6ce783a6dda2cbfb1666137444591a7dd1 Mon Sep 17 00:00:00 2001 From: "Scott E. Graves" Date: Sat, 9 Nov 2024 17:06:08 -0600 Subject: [PATCH] cleanup --- .../src/fuse_drive_test_legacy.cpp | 36 ------------------- 1 file changed, 36 deletions(-) diff --git a/repertory/repertory_test/src/fuse_drive_test_legacy.cpp b/repertory/repertory_test/src/fuse_drive_test_legacy.cpp index 2b790973..da3a19f6 100644 --- a/repertory/repertory_test/src/fuse_drive_test_legacy.cpp +++ b/repertory/repertory_test/src/fuse_drive_test_legacy.cpp @@ -1,39 +1,3 @@ -// static void rmdir_and_test(const std::string &directory_path) { -// std::cout << __FUNCTION__ << std::endl; -// int ret = 0; -// for (auto i = 0; ((ret = rmdir(directory_path.c_str())) != 0) && (i < 20); -// i++) { -// std::this_thread::sleep_for(100ms); -// } -// -// EXPECT_EQ(0, ret); -// std::this_thread::sleep_for(SLEEP_SECONDS); -// -// EXPECT_FALSE(utils::file::is_directory(directory_path)); -// EXPECT_FALSE(utils::file::is_file(directory_path)); -// } -// -// static void test_mkdir(const std::string & /* api_path */, -// const std::string &directory_path) { -// std::cout << __FUNCTION__ << std::endl; -// EXPECT_EQ(0, mkdir(directory_path.c_str(), -// S_IRUSR | S_IWUSR | S_IXUSR | S_IRGRP | S_IXGRP)); -// -// EXPECT_TRUE(utils::file::is_directory(directory_path)); -// EXPECT_FALSE(utils::file::is_file(directory_path)); -// -// struct stat64 unix_st {}; -// stat64(directory_path.c_str(), &unix_st); -// -// EXPECT_EQ(getuid(), unix_st.st_uid); -// EXPECT_EQ(getgid(), unix_st.st_gid); -// -// EXPECT_EQ(static_cast(S_IRUSR | S_IWUSR | S_IXUSR | S_IRGRP -// | -// S_IXGRP), -// ACCESSPERMS & unix_st.st_mode); -// } -// // static void test_write_and_read(const std::string & /* api_path */, // const std::string &file_path) { // std::cout << __FUNCTION__ << std::endl;