Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F177254825
D54331.1794009443.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
519 B
Referenced Files
None
Subscribers
None
D54331.1794009443.diff
View Options
diff --git a/tests/sys/fs/fusefs/mockfs.cc b/tests/sys/fs/fusefs/mockfs.cc
--- a/tests/sys/fs/fusefs/mockfs.cc
+++ b/tests/sys/fs/fusefs/mockfs.cc
@@ -980,7 +980,11 @@
}
res = read(m_fuse_fd, &in, sizeof(in));
- if (res < 0 && errno != EBADF && !m_quit && !m_expect_unmount) {
+ if (res < 0 && errno == ENODEV && m_expect_unmount) {
+ /* The kernel unmounted us, as expected. */
+ m_quit = true;
+ }
+ if (res < 0 && errno != EBADF && !m_quit) {
m_quit = true;
FAIL() << "read: " << strerror(errno);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Nov 6, 11:57 PM (8 h, 33 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41499822
Default Alt Text
D54331.1794009443.diff (519 B)
Attached To
Mode
D54331: fusefs: Fix further intermittency in the BadServer.ShortWrite test case
Attached
Detach File
Event Timeline