fuse unit tests and fixes
This commit is contained in:
parent
eec286845e
commit
e476b4f0c6
@ -161,6 +161,7 @@ TYPED_TEST(fuse_test, access_can_check_file_execute_access) {
|
|||||||
std::string file_name{"access_test"};
|
std::string file_name{"access_test"};
|
||||||
auto file_path = this->create_file_and_test(file_name);
|
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));
|
EXPECT_EQ(0, access(file_path.c_str(), X_OK));
|
||||||
|
|
||||||
this->unlink_file_and_test(file_path);
|
this->unlink_file_and_test(file_path);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user