]> Savannah Git Hosting - gnulib.git/commitdiff
get-rusage-data: Avoid test failure on NetBSD 9.3.
authorBruno Haible <bruno@clisp.org>
Thu, 18 Jan 2024 18:59:34 +0000 (19:59 +0100)
committerBruno Haible <bruno@clisp.org>
Thu, 18 Jan 2024 18:59:34 +0000 (19:59 +0100)
* tests/test-get-rusage-data.c (main): Don't expect a strict increase on
NetBSD systems.

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

index 37924abdb825c9251df90bb67a40ea325a8f620e..71692a6d0c571457c259dd70f81bf22ec78c798a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2024-01-18  Bruno Haible  <bruno@clisp.org>
+
+       get-rusage-data: Avoid test failure on NetBSD 9.3.
+       * tests/test-get-rusage-data.c (main): Don't expect a strict increase on
+       NetBSD systems.
+
 2024-01-18  Bruno Haible  <bruno@clisp.org>
 
        log10l: Work around bug on NetBSD 9.3/arm64.
index 29a68d7cc265c7af3073d02153bf5bbf00ca9a9c..eab165ee015eb680500105ca55f132c5703e5507 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 __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__)
       /* Allocating 2.5 MB of memory should increase the data segment size.  */
       ASSERT (value3 > value1);
 #endif