> However, on MinGW all three tests fail because the program outputs CRLF > line endings, while the test suite creates files with LF ending.
Um, why? That is, why does cat>foo produce LF files while hello>foo produces CRLF files? Is this different in MinGW than under Cygwin? (I'm probably just dumb, but I cannot infer this behavior from http://www.cygwin.com/cygwin-ug-net/using-textbinary.html.) Can we easily get cat>foo (or some equivalent) to produce CRLF files? That seems like it would be a tiny bit cleaner to me than deleting the \r from the hello>foo output. Thanks, karl