fuse unit tests and fixes

This commit is contained in:
Scott E. Graves 2024-11-10 10:26:38 -06:00
parent eec286845e
commit e476b4f0c6

View File

@ -161,6 +161,7 @@ TYPED_TEST(fuse_test, access_can_check_file_execute_access) {
std::string file_name{"access_test"};
auto file_path = this->create_file_and_test(file_name);
EXPECT_EQ(0, chmod(file_path.c_str(), 0700));
EXPECT_EQ(0, access(file_path.c_str(), X_OK));
this->unlink_file_and_test(file_path);