diff options
author | Rich Trott <rtrott@gmail.com> | 2015-11-15 14:41:19 -0800 |
---|---|---|
committer | James M Snell <jasnell@gmail.com> | 2015-11-16 07:03:09 -0800 |
commit | a2144fce35f6e38971d3ab269c8d68bb8faf96dd (patch) | |
tree | 1955b6aff77b5657d0e542d8a00fc7024a2cadd1 /test | |
parent | e2eb33483dec50a6fb805e1aae294d7922b9e888 (diff) | |
download | android-node-v8-a2144fce35f6e38971d3ab269c8d68bb8faf96dd.tar.gz android-node-v8-a2144fce35f6e38971d3ab269c8d68bb8faf96dd.tar.bz2 android-node-v8-a2144fce35f6e38971d3ab269c8d68bb8faf96dd.zip |
test: skip test if FreeBSD jail will break it
`test/internet/test-dgram-broadcast-multi-process.js` fails if it is in
a FreeBSD jail. This issue is with the way FreeBSD jails work and not
with Node. Skip the test if in a FreeBSD jail.
PR-URL: https://github.com/nodejs/node/pull/3839
Fixes: https://github.com/nodejs/node/issues/2472
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
Reviewed-By: Ben Noordhuis <ben@strongloop.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/internet/test-dgram-broadcast-multi-process.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/internet/test-dgram-broadcast-multi-process.js b/test/internet/test-dgram-broadcast-multi-process.js index 9df217710e..a24aabcf1b 100644 --- a/test/internet/test-dgram-broadcast-multi-process.js +++ b/test/internet/test-dgram-broadcast-multi-process.js @@ -15,6 +15,11 @@ var common = require('../common'), new Buffer('Fourth message to send') ]; +if (common.inFreeBSDJail) { + console.log('1..0 # Skipped: in a FreeBSD jail'); + return; +} + // take the first non-internal interface as the address for binding get_bindAddress: for (var name in networkInterfaces) { var interfaces = networkInterfaces[name]; |