diff options
author | Boyuan He <heboyuan@google.com> | 2020-08-18 20:59:28 +0000 |
---|---|---|
committer | Andrei Vagin <avagin@gmail.com> | 2020-09-16 12:19:30 -0700 |
commit | 947088e10a15b5236f2af3206f67f27245ef2770 (patch) | |
tree | 3d9920547a1e8e3295ef68857fd096cb85ae7629 /test/fuse/linux/open_test.cc | |
parent | 32044f94e9dfbb88c17d07b235b8ed5b07d2ff18 (diff) |
Implement FUSE_RELEASE/RELEASEDIR
Fixes #3314
Diffstat (limited to 'test/fuse/linux/open_test.cc')
-rw-r--r-- | test/fuse/linux/open_test.cc | 4 |
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; |