svn commit: r347548 - projects/fuse2/tests/sys/fs/fusefs
Alan Somers
asomers at FreeBSD.org
Mon May 13 19:48:58 UTC 2019
Author: asomers
Date: Mon May 13 19:48:57 2019
New Revision: 347548
URL: https://svnweb.freebsd.org/changeset/base/347548
Log:
fusefs: commit missing file from r347547
Sponsored by: The FreeBSD Foundation
Modified:
projects/fuse2/tests/sys/fs/fusefs/write.cc
Modified: projects/fuse2/tests/sys/fs/fusefs/write.cc
==============================================================================
--- projects/fuse2/tests/sys/fs/fusefs/write.cc Mon May 13 19:47:31 2019 (r347547)
+++ projects/fuse2/tests/sys/fs/fusefs/write.cc Mon May 13 19:48:57 2019 (r347548)
@@ -65,19 +65,6 @@ void expect_release(uint64_t ino, ProcessMockerT r)
).WillRepeatedly(Invoke(r));
}
-void require_sync_resize_0() {
- const char *sync_resize_node = "vfs.fusefs.sync_resize";
- int val = 0;
- size_t size = sizeof(val);
-
- ASSERT_EQ(0, sysctlbyname(sync_resize_node, &val, &size, NULL, 0))
- << strerror(errno);
- if (val != 0)
- GTEST_SKIP() <<
- "vfs.fusefs.sync_resize must be set to 0 for this test."
- " That sysctl will probably be removed soon.";
-}
-
};
class AioWrite: public Write {
@@ -191,8 +178,6 @@ TEST_F(Write, append)
*/
uint64_t initial_offset = m_maxbcachebuf;
int fd;
-
- require_sync_resize_0();
expect_lookup(RELPATH, ino, initial_offset);
expect_open(ino, 0, 1);
More information about the svn-src-projects
mailing list