[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
getaddrinfo test: ignore failure on AIX
From: |
Bruno Haible |
Subject: |
getaddrinfo test: ignore failure on AIX |
Date: |
Sun, 13 Apr 2008 22:16:58 +0200 |
User-agent: |
KMail/1.5.4 |
The getaddrinfo test also fails on AIX 4 and 5:
Finding www.ibm.com service https...
res 7: Host not found
7 is EAI_NODATA, meaning "no address associated with hostname". But
when ("www.ibm.com", "https") fails with this error whereas
("www.ibm.com", "http") succeeds, it's clear that the error is buggy.
I apply this, since it's now a known failure:
2008-04-13 Bruno Haible <address@hidden>
* tests/test-getaddrinfo.c (simple): Ignore EAI_NODATA error.
*** tests/test-getaddrinfo.c.orig 2008-04-13 22:12:42.000000000 +0200
--- tests/test-getaddrinfo.c 2008-04-13 22:12:28.000000000 +0200
***************
*** 62,67 ****
--- 62,71 ----
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;
}