test: fix regress-GH-1726

This commit is contained in:
Fedor Indutny 2014-07-13 23:15:52 +04:00
parent da30c0084a
commit b692493766

View File

@ -38,7 +38,7 @@ if (gen === maxGen) {
} }
var child = ch.spawn(process.execPath, [__filename, gen + 1], { var child = ch.spawn(process.execPath, [__filename, gen + 1], {
stdio: 'inherit' stdio: [ 'ignore', 'pipe', 'ignore' ]
}); });
assert.ok(!child.stdin); assert.ok(!child.stdin);
assert.ok(child.stdout); assert.ok(child.stdout);