diff options
Diffstat (limited to 'test/simple/test-child-process-channel.js')
-rw-r--r-- | test/simple/test-child-process-channel.js | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/test/simple/test-child-process-channel.js b/test/simple/test-child-process-channel.js deleted file mode 100644 index d7230a2692..0000000000 --- a/test/simple/test-child-process-channel.js +++ /dev/null @@ -1,25 +0,0 @@ -var assert = require('assert'); -var spawn = require('child_process').spawn; -var common = require('../common'); - -var sub = common.fixturesDir + '/child-process-channel.js'; - -var child = spawn(process.execPath, [sub], { - customFds: [0, 1, 2], - wantChannel: true -}); - -console.log('fds', child.fds); - -assert.ok(child.fds.length == 4); -assert.ok(child.fds[3] >= 0); - -var childExitCode = -1; - -child.on('exit', function(code) { - childExitCode = code; -}); - -process.on('exit', function() { - assert.ok(childExitCode == 0); -}); |