From: Bruno Haible Date: Thu, 18 Jan 2024 18:59:34 +0000 (+0100) Subject: get-rusage-data: Avoid test failure on NetBSD 9.3. X-Git-Tag: v1.0~507 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=862704eac0469cb8e30f2c47ce2f7467eafa8570;p=gnulib.git 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. --- diff --git a/ChangeLog b/ChangeLog index 37924abdb8..71692a6d0c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2024-01-18 Bruno Haible + + 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 log10l: Work around bug on NetBSD 9.3/arm64. diff --git a/tests/test-get-rusage-data.c b/tests/test-get-rusage-data.c index 29a68d7cc2..eab165ee01 100644 --- a/tests/test-get-rusage-data.c +++ b/tests/test-get-rusage-data.c @@ -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