diff --git a/repertory/repertory_test/include/fixtures/fuse_fixture.hpp b/repertory/repertory_test/include/fixtures/fuse_fixture.hpp index 9cce1618..5995519b 100644 --- a/repertory/repertory_test/include/fixtures/fuse_fixture.hpp +++ b/repertory/repertory_test/include/fixtures/fuse_fixture.hpp @@ -256,7 +256,7 @@ public: file_name += std::to_string(++idx); auto file_path = utils::path::combine(mount_location, {file_name}); - auto handle = open(file_path.c_str(), O_CREAT | O_RDWR, perms); + auto handle = open(file_path.c_str(), O_CREAT | O_EXCL | O_RDWR, perms); EXPECT_LE(1, handle); auto opt_size = utils::file::file{file_path}.size(); diff --git a/repertory/repertory_test/src/fuse_drive_create_test.cpp b/repertory/repertory_test/src/fuse_drive_create_and_open_test.cpp similarity index 100% rename from repertory/repertory_test/src/fuse_drive_create_test.cpp rename to repertory/repertory_test/src/fuse_drive_create_and_open_test.cpp