Skip site navigation (1)Skip section navigation (2)


| raw e-mail | index | archive | help
diff --git a/tests/sys/fs/fusefs/bad_server.cc b/tests/sys/fs/fusefs/bad_server.cc
index af2ca146e431..c3d195735446 100644
--- a/tests/sys/fs/fusefs/bad_server.cc
+++ b/tests/sys/fs/fusefs/bad_server.cc
@@ -65,6 +65,11 @@ TEST_F(BadServer, ShortWrite)
 	out.header.unique = 0;			// Asynchronous notification
 	out.expected_errno = EINVAL;
 	m_mock->write_response(out);
+	/*
+	 * Tell the event loop to quit.  The kernel has already disconnected us
+	 * because of the short write.
+	 */
+	m_mock->m_quit = true;
 }
 
 /*



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