rnk added a comment. In https://reviews.llvm.org/D39203#904284, @inglorion wrote: > If you agree, I'd like to ship this without the test for now. Yep, let's land this. Writing a portable test for `write`/`WriteFile` errors is hard. https://reviews.llvm.org/D39203