ref: d0f5ddad3688558a7bdfa185b8628e34d764c45b
parent: 600ca8dafeefe76ae85f79b089dcbdf2c3c6245d
author: Ori Bernstein <[email protected]>
date: Wed Dec 18 05:20:28 EST 2013
Update test to verify final flush.
--- a/test/bio-write.myr
+++ b/test/bio-write.myr
@@ -23,4 +23,10 @@
buf[i] = 0x31
;;
bio.write(f, buf[:])
+
+ /* final message after a big burst */
+ bio.write(f, "goodbye\n")
+
+ /* and test for flush on close */
+ bio.close(f);
}