From c4fbda2b2ce2c9b204e259c419d76486e41741bf Mon Sep 17 00:00:00 2001 From: Alan Somers Date: Mon, 13 May 2019 19:48:57 +0000 Subject: [PATCH] fusefs: commit missing file from r347547 Sponsored by: The FreeBSD Foundation --- tests/sys/fs/fusefs/write.cc | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/tests/sys/fs/fusefs/write.cc b/tests/sys/fs/fusefs/write.cc index 37d817484a8c..0f0313d976bc 100644 --- a/tests/sys/fs/fusefs/write.cc +++ b/tests/sys/fs/fusefs/write.cc @@ -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 { @@ -192,8 +179,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); expect_write(ino, initial_offset, BUFSIZE, BUFSIZE, 0, CONTENTS);