Commit 86763198 authored by Santiago Gimeno's avatar Santiago Gimeno Committed by Brendan Ashworth
Browse files

test: fix test-sync-io-option

Wait for all the data to be available in stderr before checking its
contents. In FreeBSD this was failing because stderr data was being
emitted in multiple chunks. 4 WARNINGS are printed instead of 2 for
each sync call inside readFileSync. require('fs') does not print any
trace.

PR-URL: https://github.com/nodejs/io.js/pull/1734


Reviewed-By: default avatarTrevor Norris <trev.norris@gmail.com>
parent f29762f4
Supports Markdown
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