Hi,

Andreas Enge <[email protected]> skribis:

> Resolve library appears to have passed the test
> LD_LIBRARY_PATH=`echo -L../../lib | sed -e "s/-L//g" -e "s/ /:/g"`; export 
> LD_LIBRARY_PATH;   ./addrinfo-test -p telnet
> getaddrinfo(hostname (null), service telnet,
>             hints { no-flags }):
>         error => Servname not supported for ai_socktype

This is because this test relies on the presence of /etc/services when
looking up the “telnet” service by name (which is missing in chroots.)

Possibilities include:

  • patching the test avoid that (for instance, by changing ‘localhost’
    to ‘127.0.0.1’, ‘telnet’ by ‘23’, etc.), unless it would no longer
    make sense;

  • patching the test machinery to skip the test;

  • turning off all the tests, as a last resort, if they are all really
    network-dependent.

Any idea what would be the most relevant approach here?

HTH,
Ludo’.

Reply via email to