test: fix test-sync-io-option
authorEvan Lucas <evanlucas@me.com>
Fri, 29 May 2015 20:08:16 +0000 (15:08 -0500)
committerEvan Lucas <evanlucas@me.com>
Wed, 3 Jun 2015 18:23:25 +0000 (13:23 -0500)
commit43a82f8a718a91ede0a360ee2c4078e01befcd2b
treea0558aaa50d78778d036fdf078a59af82d266f50
parent4ed25f664d8312b380befc5831353c0e5efe1bbe
test: fix test-sync-io-option

This test was failing occasionally both locally and on CI. Switched
from using spawn to execFile for a more reliable test.

Fixes: https://github.com/nodejs/io.js/issues/1837
PR-URL: https://github.com/nodejs/io.js/pull/1840
Reviewed-By: Roman Reiss <me@silverwind.io>
Reviewed-By: Trevor Norris <trev.norris@gmail.com>
test/parallel/test-sync-io-option.js