test: make stdout-close-unref work in test runner
authorBen Noordhuis <info@bnoordhuis.nl>
Wed, 17 Apr 2013 21:59:49 +0000 (23:59 +0200)
committerBen Noordhuis <info@bnoordhuis.nl>
Wed, 17 Apr 2013 22:02:51 +0000 (00:02 +0200)
commit2e70ddad9d8ef8aa37bcb18ef912cf0ff5921656
tree467e813740f55a5171dcfc27083cfb47071f94cc
parent36503b523dbfc728e20a166758598cb6b339fd83
test: make stdout-close-unref work in test runner

process.stdout isn't fully initialized yet by the time the test starts
when invoked with `python tools/test.py`. Use process.stdin instead and
force initialization with process.stdin.resume().
test/simple/test-stdout-close-unref.js