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  <[EMAIL PROTECTED]>

        * 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;
      }



Reply via email to