test: check for error on Windows
authorRich Trott <rtrott@gmail.com>
Tue, 23 Jun 2015 05:17:52 +0000 (22:17 -0700)
committerRich Trott <rtrott@gmail.com>
Thu, 25 Jun 2015 04:04:05 +0000 (21:04 -0700)
commit8e9089ac3574682bac610b4b7a93a7915ad5ab8d
treef68ce2b93e1b7322c3ab011ccbf36ecde55c7536
parentc87c34c242ebdfc0c6ab2fac5b18122cf871dd4f
test: check for error on Windows

Instead of not running the dgram-bind-shared-ports
on Windows, check that it gets ENOTSUP.

PR-URL: https://github.com/nodejs/io.js/pull/2035
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
test/parallel/test-dgram-bind-shared-ports.js