diff options
author | Boyuan He <heboyuan@google.com> | 2020-08-18 20:59:28 +0000 |
---|---|---|
committer | Andrei Vagin <avagin@gmail.com> | 2020-09-11 13:35:25 -0700 |
commit | ccd1a64049df263355d1401da46c78ec2236455c (patch) | |
tree | fd187b4dc198f4217a0d97dc1a869539606a7b6a /test/fuse/linux/open_test.cc | |
parent | fc1196ee65a53004e3e8b97ec5d57404552b90b8 (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; |