> FAIL: test-getaddrinfo > ====================== > > Test case pass=3, host=www.gnu.org, service=http failed: expected EAI_NONAME, > got -8 > Test case pass=3, host=www.ibm.com, service=https failed: expected > EAI_NONAME, got -8 > Test case pass=3, host=microsoft.com, service=http failed: expected > EAI_NONAME, got -8 > Test case pass=3, host=google.org, service=ldap failed: expected EAI_NONAME, > got -8 > FAIL test-getaddrinfo (exit status: 4) > > Where -8 is EAI_SERVICE. This is on a Debian 12 system.
Let's these 4 test cases. 2025-02-17 Bruno Haible <br...@clisp.org> getaddrinfo tests: Skip test cases that may fail on Debian 12. * tests/test-getaddrinfo.c (main): Skip some test cases on glibc. diff --git a/tests/test-getaddrinfo.c b/tests/test-getaddrinfo.c index 4485d7dd10..dfa794791e 100644 --- a/tests/test-getaddrinfo.c +++ b/tests/test-getaddrinfo.c @@ -221,10 +221,14 @@ int main (void) #if HAVE_IPV6 + simple (3, NUMERICHOSTV6, SERV1) #endif +#if !defined __GLIBC__ + /* avoid glibc bug, possibly + <https://sourceware.org/bugzilla/show_bug.cgi?id=32465> */ + simple (3, HOST1, SERV1) + simple (3, HOST2, SERV2) + simple (3, HOST3, SERV3) + simple (3, HOST4, SERV4) +#endif + simple (4, HOST1, SERV1) + simple (4, HOST1, "80") + simple (4, HOST2, SERV2)