test: Remove references to customFds
authorRyan Graham <r.m.graham@gmail.com>
Tue, 8 Jul 2014 19:14:58 +0000 (12:14 -0700)
committerFedor Indutny <fedor@indutny.com>
Thu, 10 Jul 2014 12:07:08 +0000 (15:07 +0300)
Option has been deprecated since v0.5.11

Signed-off-by: Fedor Indutny <fedor@indutny.com>
test/disabled/test-child-process-customfd-bounded.js [moved from test/simple/test-child-process-customfd-bounded.js with 100% similarity]
test/simple/test-child-process-set-blocking.js
test/simple/test-regress-GH-1726.js

index 030b682..e07c6cc 100644 (file)
@@ -27,7 +27,7 @@ var SIZE = 100000;
 var childGone = false;
 
 var cp = ch.spawn('python', ['-c', 'print ' + SIZE + ' * "C"'], {
-  customFds: [0, 1, 2]
+  stdio: 'inherit'
 });
 
 cp.on('exit', function(code) {
index 2ed3004..aa5f76e 100644 (file)
@@ -38,7 +38,7 @@ if (gen === maxGen) {
 }
 
 var child = ch.spawn(process.execPath, [__filename, gen + 1], {
-  customFds: [0, -1, 2]
+  stdio: 'inherit'
 });
 assert.ok(!child.stdin);
 assert.ok(child.stdout);