aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTino Reichardt <[email protected]>2024-08-06 01:17:23 +0200
committerTony Hutter <[email protected]>2024-08-26 15:10:16 -0700
commit0465fbecd7db0d0a23776f084c238cdccd9faa29 (patch)
tree8ebf705c656eb827edb25cd57b5391fc526f3afd
parenta99a37991e59ad85b5935deb48615793568df973 (diff)
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 <[email protected]> Reviewed-by: Tony Hutter <[email protected]> Reviewed-by: George Melikov <[email protected]>
-rw-r--r--tests/zfs-tests/tests/functional/history/history.cfg6
1 files changed, 1 insertions, 5 deletions
diff --git a/tests/zfs-tests/tests/functional/history/history.cfg b/tests/zfs-tests/tests/functional/history/history.cfg
index a508a7935..6020443bc 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"