Skip to content

Commit

Permalink
ZTS: fix history_007_pos test on Ubuntu 24.04
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]>
  • Loading branch information
mcmilk committed Aug 2, 2024
1 parent c8184d7 commit 55af3b2
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 55af3b2

Please sign in to comment.