Skip to content

Commit

Permalink
ZTS: fix history_007_pos test on Ubuntu 24.04 (#16410)
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
mcmilk authored Aug 5, 2024
1 parent 46ebd0a commit 8d4ad5a
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions tests/zfs-tests/tests/functional/history/history.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 8d4ad5a

Please sign in to comment.