This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] posix: Make tst-getaddrinfo5 an xtest due to Internet requirement [BZ #20826]
- From: Aurelien Jarno <aurelien at aurel32 dot net>
- To: libc-alpha at sourceware dot org
- Date: Tue, 14 Nov 2017 21:17:21 +0100
- Subject: Re: [PATCH] posix: Make tst-getaddrinfo5 an xtest due to Internet requirement [BZ #20826]
- Authentication-results: sourceware.org; auth=none
- References: <20171113132213.4127641274EC9@oldenburg.str.redhat.com>
On 2017-11-13 14:22, Florian Weimer wrote:
> We have additional coverage of getaddrinfo through the resolv tests, so
> the loss of default test coverage seems acceptable.
>
> 2017-11-13 Florian Weimer <fweimer@redhat.com>
>
> [BZ #20826]
> Turn posix/tst-getaddrinfo5 into xtest due to Internet requirement.
> * posix/Makefile (tests): Remove tst-getaddrinfo5.
> (xtests): Add tst-getaddrinfo5.
>
IMHO, this test should succeed even without network access, provided
that /etc/hosts contains an entry for localhost, which is something
pretty standard. However nss_files only consider exact matching, and
doesn't consider 'localhost.' being the same as 'localhost'.
--
Aurelien Jarno GPG: 4096R/1DDD8C9B
aurelien@aurel32.net http://www.aurel32.net