https://gitlab.synchro.net/main/sbbs/-/commit/ddfa28de95a3e13171ab531c
Modified Files:
exec/tests/mailbox/kit.js store_write.js summary.js
Log Message:
tests/mailbox: an outside writer closes its handle; report how files are dated
On netbsd-amd64, summary.js fails where an outside header change must
force a rebuild of the summary cache. The message added earlier shows
why the cache saw nothing: the .shd file's date was the same before and
after the header was rewritten, a second later, through a handle that
stayed open.
The test's outside change is now made through a handle of its own that
is closed again, as another process would do it. The test kit gains Kit.file_dates(), which reports whether a write shows in a file's date
while the file is open and after it is closed; the two checks that
fail on NetBSD put its answer in their message.
On Linux the probe says a write shows in both cases, and the 14 mailbox
tests pass.
Co-Authored-By: Claude Fable 5.2 <
noreply@anthropic.com>