kripken/emscripten — pull request #1406 by inolen (2013-07-18 07:21:26+00:00)
Title: fixed stderr output to use printErr

I noticed this issue when these two tests were failing in the VFS branch (combined with that guy's issues in IRC the other day).

The only unfortunate issue is that stdout and stderr writes are async in node.js when they are being redirected toa pipe, so the output order isn't guaranteed. I ran the tests a few times, and on my machine at least, the stderr was always flushing out after all the stdout writes were done so adjusted the comparison text accordingly. However, I'm not sure if this is reliable.