]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Avoid the DNS lookup for "localhost"
authorngie <ngie@FreeBSD.org>
Mon, 4 Feb 2019 19:12:45 +0000 (19:12 +0000)
committerngie <ngie@FreeBSD.org>
Mon, 4 Feb 2019 19:12:45 +0000 (19:12 +0000)
commit72307e7dd3672a8c7c741452b43765eb86db463d
tree16c4696b3c66d7252704e9896113a04c5bcd7850
parent1d26c4cce9815e8d2609351a6167277255697541
Avoid the DNS lookup for "localhost"

ci.FreeBSD.org does not have access to a DNS resolver/network (unlike my test
VM), so in order for the test to pass on the host, it needs to avoid the DNS
lookup by using the numeric host address representation.

PR: 235200
Reviewed by: asomers, lwhsu
Approved by: emaste (mentor)
MFC after: 2 weeks
MFC with: r343362, r343365, r343367-r343368, r343461
Differential Revision: https://reviews.freebsd.org/D19026
lib/libc/tests/sys/sendfile_test.c