summaryrefslogtreecommitdiffhomepage
path: root/test/fuse/linux/open_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/fuse/linux/open_test.cc')
-rw-r--r--test/fuse/linux/open_test.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/fuse/linux/open_test.cc b/test/fuse/linux/open_test.cc
index ed0641587..4b0c4a805 100644
--- a/test/fuse/linux/open_test.cc
+++ b/test/fuse/linux/open_test.cc
@@ -33,6 +33,10 @@ namespace testing {
namespace {
class OpenTest : public FuseTest {
+ // OpenTest doesn't care the release request when close a fd,
+ // so doesn't check leftover requests when tearing down.
+ void TearDown() { UnmountFuse(); }
+
protected:
const std::string test_file_ = "test_file";
const mode_t regular_file_ = S_IFREG | S_IRWXU | S_IRWXG | S_IRWXO;