Skip to content

Commit 546f947

Browse files
committed
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
1 parent 84f0964 commit 546f947

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)