test: fix regress-GH-1726
authorFedor Indutny <fedor@indutny.com>
Sun, 13 Jul 2014 19:15:52 +0000 (23:15 +0400)
committerFedor Indutny <fedor@indutny.com>
Sun, 13 Jul 2014 19:15:52 +0000 (23:15 +0400)
test/simple/test-regress-GH-1726.js

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