aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAlan Somers <asomers@FreeBSD.org>2025-10-14 02:18:48 +0000
committerAlan Somers <asomers@FreeBSD.org>2025-10-14 14:46:54 +0000
commitd1bd541b385d49d2ae3a8bad9df72779b606e208 (patch)
tree268fd12b41cd91984671f9b05195233c963b5231 /tests
parent7117c86fcb7ebee4483097cefa9b143de8d78ee0 (diff)
Diffstat (limited to 'tests')
-rw-r--r--tests/sys/fs/fusefs/bad_server.cc5
1 files changed, 5 insertions, 0 deletions
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;
}
/*