diff options
author | Alan Somers <asomers@FreeBSD.org> | 2025-10-14 02:18:48 +0000 |
---|---|---|
committer | Alan Somers <asomers@FreeBSD.org> | 2025-10-14 14:46:54 +0000 |
commit | d1bd541b385d49d2ae3a8bad9df72779b606e208 (patch) | |
tree | 268fd12b41cd91984671f9b05195233c963b5231 /lib/libc/i386/string/strrchr.S | |
parent | 7117c86fcb7ebee4483097cefa9b143de8d78ee0 (diff) |
This test implicitly depended on the order in which two threads
completed. If the test thread finished first, the test would pass. But
if the mock file system thread did, it would attempt to read from an
unmounted file system, and fail. As a result, the test would randomly
fail once out of every several thousand executions. Fix it by telling
the mock file system's event loop to exit without attempting to read any
more events.
Reported by: Siva Mahadevan <me@svmhdvn.name>
MFC after: 1 week
Reviewed by: Siva Mahadevan <me@svmhdvn.name>
Differential Revision: https://reviews.freebsd.org/D53080
Diffstat (limited to 'lib/libc/i386/string/strrchr.S')
0 files changed, 0 insertions, 0 deletions