> 2025-02-17  Bruno Haible  <br...@clisp.org>
> 
>       getaddrinfo tests: Make failures more verbose.
>       * tests/test-getaddrinfo.c (simple): Print some info before returning 1.

Now the test failure produces this info:

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.

This failure makes no sense to me. Any idea?

Bruno




Reply via email to