test: fix test-child-process-stdout-flush-exit
authorSantiago Gimeno <santiago.gimeno@gmail.com>
Tue, 2 Jun 2015 08:39:55 +0000 (10:39 +0200)
committerBen Noordhuis <info@bnoordhuis.nl>
Tue, 2 Jun 2015 17:25:22 +0000 (19:25 +0200)
commitb9267189a58e48e587faec78a5e83b6bbfc72581
tree9d85a58efd271bc1db08e057e91ab1d412fa3aac
parentd20f018dcf79af204700199ef374481fc8453b2b
test: fix test-child-process-stdout-flush-exit

Make sure all the stdout data is available before
performing the assertions.

Fixes: https://github.com/nodejs/io.js/issues/944
PR-URL: https://github.com/nodejs/io.js/pull/1868
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
test/parallel/test-child-process-stdout-flush-exit.js