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 diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
+++ 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;
}