Commit 2ebeb828 authored by Natanael Copa's avatar Natanael Copa Committed by Evan Lucas
Browse files

test: fix test-net-* error code check for getaddrinfo(3)

Replace '...' as invalid hostname with '***', which will give a more
consisten error message on different systems. The hostname '...' returns
EAI_AGAIN on musl libc and EAI_NONAME on most other systems.

By changing the testcase we get same restult on all known platforms.

PR-URL: https://github.com/nodejs/node/pull/5099


Reviewed-By: default avatarRich Trott <rtrott@gmail.com>
Reviewed-By: default avatarRod Vagg <rod@vagg.org>
parent 34b96c13
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment