]> Savannah Git Hosting - gnulib.git/commitdiff
getaddrinfo tests: Skip test cases that may fail on Debian 12.
authorBruno Haible <bruno@clisp.org>
Mon, 17 Feb 2025 11:03:37 +0000 (12:03 +0100)
committerBruno Haible <bruno@clisp.org>
Mon, 17 Feb 2025 11:03:37 +0000 (12:03 +0100)
* tests/test-getaddrinfo.c (main): Skip some test cases on glibc.

ChangeLog
tests/test-getaddrinfo.c

index efa4b773924e2b4a3f61105489ce41463619a665..705775d7463d1e31233c560fe5eb21b1b20f9ddd 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2025-02-17  Bruno Haible  <bruno@clisp.org>
+
+       getaddrinfo tests: Skip test cases that may fail on Debian 12.
+       * tests/test-getaddrinfo.c (main): Skip some test cases on glibc.
+
 2025-02-17  Bruno Haible  <bruno@clisp.org>
 
        strncasecmp_l: Fix replacement implementation.
index 4485d7dd106046417e8760b375b7b03d4c726185..dfa794791e32b53f3934e56442316d18766bcebb 100644 (file)
@@ -221,10 +221,14 @@ int main (void)
 #if HAVE_IPV6
           + simple (3, NUMERICHOSTV6, SERV1)
 #endif
+#if !defined __GLIBC__
+          /* avoid glibc bug, possibly
+             <https://sourceware.org/bugzilla/show_bug.cgi?id=32465> */
           + simple (3, HOST1, SERV1)
           + simple (3, HOST2, SERV2)
           + simple (3, HOST3, SERV3)
           + simple (3, HOST4, SERV4)
+#endif
           + simple (4, HOST1, SERV1)
           + simple (4, HOST1, "80")
           + simple (4, HOST2, SERV2)