diff options
author | Rich Trott <rtrott@gmail.com> | 2016-05-16 13:24:08 -0700 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2016-05-16 14:52:08 -0700 |
commit | 78520fa472e57d9a98619a057bf2686fb66adee5 (patch) | |
tree | 43fb6f03b2022b4c19c44979cb1d7a2c28dea711 /deps/uv | |
parent | 5f31b7e014dca80da7818db5e235062b4dab24de (diff) | |
download | android-node-v8-78520fa472e57d9a98619a057bf2686fb66adee5.tar.gz android-node-v8-78520fa472e57d9a98619a057bf2686fb66adee5.tar.bz2 android-node-v8-78520fa472e57d9a98619a057bf2686fb66adee5.zip |
test,dgram: add tests for setBroadcast()
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>
Diffstat (limited to 'deps/uv')
0 files changed, 0 insertions, 0 deletions