# HG changeset patch # User Bruno Haible # Date 1208117829 -7200 # Node ID 35130d1e3a53ce918c930b0c99664fc931df96e8 # Parent 3826b3abb5d0ff582d9a7a8858c292f6130fde95 Avoid a test failure on AIX 4 and AIX 5. diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2008-04-13 Bruno Haible + + * tests/test-getaddrinfo.c (simple): Ignore EAI_NODATA error. + 2008-04-13 Bruno Haible Fix AIX compilation failure introduced on 2008-04-02. diff --git a/tests/test-getaddrinfo.c b/tests/test-getaddrinfo.c --- a/tests/test-getaddrinfo.c +++ b/tests/test-getaddrinfo.c @@ -62,6 +62,10 @@ fail the test merely because of this. */ if (res == EAI_SERVICE) return 0; + /* AIX reports EAI_NODATA for "https". Don't fail the test + merely because of this. */ + if (res == EAI_NODATA) + return 0; return 1; }