From 7c1bd92c57122173e3c5a99913f21dc6767c7700 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Wed, 7 Feb 2024 16:50:27 +0100 Subject: [PATCH] nstrftime tests: Avoid test failures on DragonFly BSD. * tests/test-nstrftime.h (LT): Disable specific test cases also on DragonFly BSD. --- ChangeLog | 6 ++++++ tests/test-nstrftime.h | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 14b2585a31..24d9920e35 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2024-02-07 Bruno Haible + + nstrftime tests: Avoid test failures on DragonFly BSD. + * tests/test-nstrftime.h (LT): Disable specific test cases also on + DragonFly BSD. + 2024-02-07 Bruno Haible nstrftime: Modernize. diff --git a/tests/test-nstrftime.h b/tests/test-nstrftime.h index 294a1aaf2c..97190a6654 100644 --- a/tests/test-nstrftime.h +++ b/tests/test-nstrftime.h @@ -116,12 +116,12 @@ struct localtime_rz_test static struct localtime_rz_test LT[] = { -#if !(defined __NetBSD__ || defined __ANDROID__) +#if !(defined __DragonFly__ || defined __NetBSD__ || defined __ANDROID__) { TZ+Pacific, 0, "1969-12-31 16:00:00 -0800 (PST)", 0 }, #endif { TZ+Arizona, 0, "1969-12-31 17:00:00 -0700 (MST)", 0 }, { TZ+UTC , 0, "1970-01-01 00:00:00 +0000 (UTC)", 0 }, -#if !(defined __NetBSD__ || defined __ANDROID__) +#if !(defined __DragonFly__ || defined __NetBSD__ || defined __ANDROID__) { TZ+CentEur, 0, "1970-01-01 01:00:00 +0100 (CET)", 0 }, #endif { TZ+Japan , 0, "1970-01-01 09:00:00 +0900 (JST)", 0 }, -- 2.39.5