From a7b14f7a89e7d319d193a6be179bb13b376cc031 Mon Sep 17 00:00:00 2001 From: Ryan Graham Date: Tue, 8 Jul 2014 12:14:58 -0700 Subject: [PATCH] test: Remove references to customFds Option has been deprecated since v0.5.11 Signed-off-by: Fedor Indutny --- .../{simple => disabled}/test-child-process-customfd-bounded.js | 0 test/simple/test-child-process-set-blocking.js | 2 +- test/simple/test-regress-GH-1726.js | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename test/{simple => disabled}/test-child-process-customfd-bounded.js (100%) diff --git a/test/simple/test-child-process-customfd-bounded.js b/test/disabled/test-child-process-customfd-bounded.js similarity index 100% rename from test/simple/test-child-process-customfd-bounded.js rename to test/disabled/test-child-process-customfd-bounded.js diff --git a/test/simple/test-child-process-set-blocking.js b/test/simple/test-child-process-set-blocking.js index 030b6829c6..e07c6cc4db 100644 --- a/test/simple/test-child-process-set-blocking.js +++ b/test/simple/test-child-process-set-blocking.js @@ -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) { diff --git a/test/simple/test-regress-GH-1726.js b/test/simple/test-regress-GH-1726.js index 2ed3004537..aa5f76e716 100644 --- a/test/simple/test-regress-GH-1726.js +++ b/test/simple/test-regress-GH-1726.js @@ -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);