From 7b84b1541c7e6c24f44c057aeea628bbafe40302 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Thu, 3 Dec 2020 14:19:20 -0500 Subject: [PATCH] test-getaddrinfo: use example.invalid RFC 2606 reserves the .invalid top-level domain for this purpose. PR-URL: https://github.com/libuv/libuv/pull/3063 Reviewed-By: Colin Ihrig Reviewed-By: Santiago Gimeno Reviewed-By: Richard Lau --- test/test-getaddrinfo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test-getaddrinfo.c b/test/test-getaddrinfo.c index 628e4d13..b1fc3123 100644 --- a/test/test-getaddrinfo.c +++ b/test/test-getaddrinfo.c @@ -100,7 +100,7 @@ TEST_IMPL(getaddrinfo_fail) { ASSERT(0 == uv_getaddrinfo(uv_default_loop(), &req, getaddrinfo_fail_cb, - "xyzzy.xyzzy.xyzzy.", + "example.invalid.", NULL, NULL)); ASSERT(0 == uv_run(uv_default_loop(), UV_RUN_DEFAULT)); @@ -122,7 +122,7 @@ TEST_IMPL(getaddrinfo_fail_sync) { ASSERT(0 > uv_getaddrinfo(uv_default_loop(), &req, NULL, - "xyzzy.xyzzy.xyzzy.", + "example.invalid.", NULL, NULL)); uv_freeaddrinfo(req.addrinfo);