summaryrefslogtreecommitdiff
path: root/test/internet/test-dgram-broadcast-multi-process.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/internet/test-dgram-broadcast-multi-process.js')
-rw-r--r--test/internet/test-dgram-broadcast-multi-process.js8
1 files changed, 3 insertions, 5 deletions
diff --git a/test/internet/test-dgram-broadcast-multi-process.js b/test/internet/test-dgram-broadcast-multi-process.js
index 79e1392484..0ec4bbd9ce 100644
--- a/test/internet/test-dgram-broadcast-multi-process.js
+++ b/test/internet/test-dgram-broadcast-multi-process.js
@@ -21,6 +21,9 @@
'use strict';
const common = require('../common');
+if (common.inFreeBSDJail)
+ common.skip('in a FreeBSD jail');
+
const assert = require('assert');
const dgram = require('dgram');
const util = require('util');
@@ -35,11 +38,6 @@ const messages = [
Buffer.from('Fourth message to send')
];
-if (common.inFreeBSDJail) {
- common.skip('in a FreeBSD jail');
- return;
-}
-
let bindAddress = null;
// Take the first non-internal interface as the address for binding.