Skip to content

test: accept EPROTONOSUPPORT ipv6 error - #733

Merged
bnoordhuis merged 1 commit into
nodejs:v1.xfrom
bnoordhuis:fix-fbsd-test
Feb 5, 2015
Merged

bnoordhuis merged 1 commit into
nodejs:v1.xfrom
bnoordhuis:fix-fbsd-test

Conversation

@bnoordhuis

Copy link
Copy Markdown
Member

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.

R=@indutny?

https://jenkins-iojs.nodesource.com/view/iojs/job/iojs+any-pr+multi/150/

@indutny

indutny commented Feb 5, 2015

Copy link
Copy Markdown
Member

LGTM

@piscisaureus

Copy link
Copy Markdown
Contributor

In the same vein you could add ESOCKTNOSUP.

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: nodejs#733
Reviewed-By: Fedor Indutny <fedor@indutny.com>
@bnoordhuis
bnoordhuis merged commit 62512bb into nodejs:v1.x Feb 5, 2015
@bnoordhuis
bnoordhuis deleted the fix-fbsd-test branch February 5, 2015 23:49
@bnoordhuis

Copy link
Copy Markdown
Member Author

@piscisaureus Not until a test starts failing with that error. :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants