On some systems, when mounting a test file system, the OS asks for /.Trash and /.Trash-1000 and will unmount if the file system returns an error. So let's tell the operating system that those don't exist instead
This commit is contained in:
parent
2bbac4956b
commit
9845175dca
@ -54,6 +54,8 @@ FuseTest::FuseTest(): fsimpl(make_shared<MockFilesystem>()), _context(boost::non
|
||||
}));
|
||||
|
||||
ReturnIsDirOnLstat("/");
|
||||
ReturnDoesntExistOnLstat("/.Trash");
|
||||
ReturnDoesntExistOnLstat("/.Trash-1000");
|
||||
}
|
||||
|
||||
unique_ref<FuseTest::TempTestFS> FuseTest::TestFS(const std::vector<std::string>& fuseOptions) {
|
||||
|
Loading…
Reference in New Issue
Block a user