From 8d4ad5adc7e02283c6a1c75ce4a1a9840ec1382a Mon Sep 17 00:00:00 2001 From: Tino Reichardt Date: Tue, 6 Aug 2024 01:17:23 +0200 Subject: [PATCH] ZTS: fix history_007_pos test on Ubuntu 24.04 (#16410) The timezone "US/Mountain" isn't supported on newer linux versions. Using the correct timezone "America/Denver" like it's done in FreeBSD will fix this. Older Linux distros should behave also okay with this. Signed-off-by: Tino Reichardt Reviewed-by: Tony Hutter Reviewed-by: George Melikov --- tests/zfs-tests/tests/functional/history/history.cfg | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/tests/zfs-tests/tests/functional/history/history.cfg b/tests/zfs-tests/tests/functional/history/history.cfg index a508a79356..6020443bcd 100644 --- a/tests/zfs-tests/tests/functional/history/history.cfg +++ b/tests/zfs-tests/tests/functional/history/history.cfg @@ -37,11 +37,7 @@ export TMP_HISTORY=$TEST_BASE_DIR/tmp_history.$$ export NEW_HISTORY=$TEST_BASE_DIR/new_history.$$ export MIGRATEDPOOLNAME=${MIGRATEDPOOLNAME:-history_pool} -if is_freebsd; then - export TIMEZONE=${TIMEZONE:-America/Denver} -else - export TIMEZONE=${TIMEZONE:-US/Mountain} -fi +export TIMEZONE=${TIMEZONE:-America/Denver} export HIST_USER="huser" export HIST_GROUP="hgroup"