Mercurial > gnulib
changeset 9917:35130d1e3a53
Avoid a test failure on AIX 4 and AIX 5.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sun, 13 Apr 2008 22:17:09 +0200 |
parents | 3826b3abb5d0 |
children | 82e6377c749d |
files | ChangeLog tests/test-getaddrinfo.c |
diffstat | 2 files changed, 8 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Sun Apr 13 21:58:00 2008 +0200 +++ b/ChangeLog Sun Apr 13 22:17:09 2008 +0200 @@ -1,3 +1,7 @@ +2008-04-13 Bruno Haible <bruno@clisp.org> + + * tests/test-getaddrinfo.c (simple): Ignore EAI_NODATA error. + 2008-04-13 Bruno Haible <bruno@clisp.org> Fix AIX compilation failure introduced on 2008-04-02.
--- a/tests/test-getaddrinfo.c Sun Apr 13 21:58:00 2008 +0200 +++ b/tests/test-getaddrinfo.c Sun Apr 13 22:17:09 2008 +0200 @@ -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; }