Browse Source

test: Sending dgram sockets to child procs not supported on windows

v0.10.0-release
isaacs 12 years ago
parent
commit
99a2059e40
  1. 5
      test/simple/test-child-process-fork-dgram.js

5
test/simple/test-child-process-fork-dgram.js

@ -24,6 +24,11 @@ var fork = require('child_process').fork;
var assert = require('assert'); var assert = require('assert');
var common = require('../common'); var common = require('../common');
if (process.platform === 'win32') {
console.error('Sending dgram sockets to child processes not supported');
process.exit(0);
}
if (process.argv[2] === 'child') { if (process.argv[2] === 'child') {
var childCollected = 0; var childCollected = 0;
var server; var server;

Loading…
Cancel
Save