test: accept EPROTONOSUPPORT ipv6 error
authorBen Noordhuis <info@bnoordhuis.nl>
Thu, 5 Feb 2015 22:52:33 +0000 (23:52 +0100)
committerBen Noordhuis <info@bnoordhuis.nl>
Thu, 5 Feb 2015 23:49:00 +0000 (00:49 +0100)
commit62512bb29cd000dd5ce848258c10f3211f153bd5
tree5e3910de6e5b9367473a61f9604f882fd9918a77
parent05f4dff97519ada5d3149a16ca9e5a04df948a61
test: accept EPROTONOSUPPORT ipv6 error

The IPv6 test in parallel/test-dgram-error-message-address may fail
when the host system has disabled IPv6, as is the case on our FreeBSD
machines.  The test already accepted EAFNOSUPPORT as of commit 5ba307a,
now make it accept EPROTONOSUPPORT as well.

I'm not exactly thrilled by the profusion of error codes but they are
all legitimate.

PR-URL: https://github.com/iojs/io.js/pull/733
Reviewed-By: Fedor Indutny <fedor@indutny.com>
test/parallel/test-dgram-error-message-address.js