]> git.ipfire.org Git - thirdparty/gnulib.git/commitdiff
get-rusage-data tests: Avoid test failure on Haiku.
authorBruno Haible <bruno@clisp.org>
Thu, 8 Jan 2026 23:46:34 +0000 (00:46 +0100)
committerBruno Haible <bruno@clisp.org>
Thu, 8 Jan 2026 23:47:34 +0000 (00:47 +0100)
* tests/test-get-rusage-data.c (main): Disable a failing assertion on
Haiku.

ChangeLog
tests/test-get-rusage-data.c

index e095dcc19578e4831f447c00f76511954af40736..17f20bd275a278d39f1c58e0f808aac155d4c753 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2026-01-08  Bruno Haible  <bruno@clisp.org>
+
+       get-rusage-data tests: Avoid test failure on Haiku.
+       * tests/test-get-rusage-data.c (main): Disable a failing assertion on
+       Haiku.
+
 2026-01-08  Bruno Haible  <bruno@clisp.org>
 
        Avoid test failures on Haiku, where -1 behaves like AT_FDCWD.
index ca841ff8d568412aee309d10456f87a8a5a47ed1..bb0b9c8f3caaaf00a9dc10cf6e91eecdb66dbe46 100644 (file)
@@ -61,7 +61,7 @@ main ()
       ASSERT (value2 >= value1);
       ASSERT (value3 >= value2);
 
-#if !(__GLIBC__ == 2 || MUSL_LIBC || (defined __APPLE__ && defined __MACH__) || defined __FreeBSD__ || defined __DragonFly__ || defined __NetBSD__ || defined __OpenBSD__ || defined _WIN32 || defined __CYGWIN__)
+#if !(__GLIBC__ == 2 || MUSL_LIBC || (defined __APPLE__ && defined __MACH__) || defined __FreeBSD__ || defined __DragonFly__ || defined __NetBSD__ || defined __OpenBSD__ || defined _WIN32 || defined __CYGWIN__ || defined __HAIKU__)
       /* Allocating 2.5 MB of memory should increase the data segment size.  */
       ASSERT (value3 > value1);
 #endif