test: make test-process-argv-0 robust
authorRich Trott <rtrott@gmail.com>
Tue, 25 Aug 2015 16:18:25 +0000 (09:18 -0700)
committerRich Trott <rtrott@gmail.com>
Wed, 26 Aug 2015 16:09:56 +0000 (09:09 -0700)
commit972a57cb20ae7e9794e61d505ae334cb1e2b45a6
treeaf95862df526dfc506f4086817e0a5615ee51516
parentc95ca0ba5bd6ab16df1a0f375f5d2eb22cc98c46
test: make test-process-argv-0 robust

Remove use of STDERR to avoid test flakiness on CentOS 5.

Use parent process exit event for assertion rather than child exit
event.

PR-URL: https://github.com/nodejs/node/pull/2541
Fixes: https://github.com/nodejs/node/issues/2477
Reviewed-By: Michaƫl Zasso <mic.besace@gmail.com>
test/parallel/test-process-argv-0.js