Skip to content

Commit 7b294bb

Browse files
Trottrvagg
authored andcommitted
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: #3839 Fixes: #2472 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Johan Bergström <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]>
1 parent 93b3a37 commit 7b294bb

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/internet/test-dgram-broadcast-multi-process.js

+5
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ var common = require('../common'),
1515
new Buffer('Fourth message to send')
1616
];
1717

18+
if (common.inFreeBSDJail) {
19+
console.log('1..0 # Skipped: in a FreeBSD jail');
20+
return;
21+
}
22+
1823
// take the first non-internal interface as the address for binding
1924
get_bindAddress: for (var name in networkInterfaces) {
2025
var interfaces = networkInterfaces[name];

0 commit comments

Comments
 (0)