From 6d34031eed4bbd95ba214772f5ac576cb84d09e8 Mon Sep 17 00:00:00 2001 From: "P.S.V.R" Date: Mon, 7 Sep 2015 19:47:09 +0800 Subject: [PATCH] v8: *test* segmentation faults related to IntegerValue (#2721) Should be fixed deps/v8/src/api.cc Workaround solution will be the next commit --- test/parallel/test-child-process-stdio.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/parallel/test-child-process-stdio.js b/test/parallel/test-child-process-stdio.js index 1ff6e4d914f7ec..eab508e7fe559c 100644 --- a/test/parallel/test-child-process-stdio.js +++ b/test/parallel/test-child-process-stdio.js @@ -18,3 +18,8 @@ assert.equal(child.stderr, null); options = {stdio: 'ignore'}; child = common.spawnSyncCat(options); assert.deepEqual(options, {stdio: 'ignore'}); + +// This should never cause segmentation faults +// cf. https://github.com/nodejs/node/issues/2721 +options = {stdio: [process.stdin, process.stdout, process.stderr]}; +child = common.spawnPwd(options);