Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 May 2019 19:48:58 +0000 (UTC)
From:      Alan Somers <asomers@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r347548 - projects/fuse2/tests/sys/fs/fusefs
Message-ID:  <201905131948.x4DJmw1T087418@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201905131948.x4DJmw1T087418>