From 4bb27baf8db18ba05092b76989659b0e2510825e Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Sun, 15 Nov 2015 14:41:19 -0800 Subject: [PATCH] test: skip test if FreeBSD jail will break it MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `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 Reviewed-By: Johan Bergström Reviewed-By: Ben Noordhuis --- test/internet/test-dgram-broadcast-multi-process.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/internet/test-dgram-broadcast-multi-process.js b/test/internet/test-dgram-broadcast-multi-process.js index 9df217710eaf9b..a24aabcf1b4d0f 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];