mirror of https://github.com/nodejs/node.git
78520fa472
The only tests for `setBroadcast()` (from the `dgram` module) were in `test/internet` which means they almost never get run. This adds a minimal test that can check JS-land functionality in `test/parallel`. I also expanded a comment and did some minor formatting on the existing `test/internet` test. If there were an easy and reliable way to check for the BROADCAST flag on an interface, it's possible that a version of the test could be moved to `test/sequential` or `test/parallel` once it was modified to only use internal networks. PR-URL: https://github.com/nodejs/node/pull/6750 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: James M Snell <jasnell@gmail.com> |
||
---|---|---|
.. | ||
test-dgram-broadcast-multi-process.js | ||
test-dgram-multicast-multi-process.js | ||
test-dgram-send-cb-quelches-error.js | ||
test-dns-cares-domains.js | ||
test-dns-ipv4.js | ||
test-dns-ipv6.js | ||
test-dns-txt-sigsegv.js | ||
test-dns.js | ||
test-http-dns-fail.js | ||
test-http-https-default-ports.js | ||
test-net-connect-timeout.js | ||
test-net-connect-unref.js | ||
test-tls-connnect-cnnic.js | ||
test-tls-connnect-melissadata.js | ||
test-tls-reuse-host-from-socket.js | ||
testcfg.py |