Commit 33169590 authored by Aaron Jacobs's avatar Aaron Jacobs

Oops, forgot to msync.

parent 597e1264
......@@ -676,6 +676,9 @@ func (t *NoErrorsTest) Mmap_WithMsync_MunmapBeforeClose() {
data[0] = 'p'
// msync. This causes a write, but not a flush.
err = msync(data)
ExpectEq(nil, err)
ExpectThat(t.getFlushes(), ElementsAre())
ExpectThat(t.getFsyncs(), ElementsAre())
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment