test: support non-summer time

Follow-up for 759ed0a253.
This commit is contained in:
Yu Watanabe
2022-10-30 11:59:10 +09:00
committed by Frantisek Sumsal
parent 1d87f03a6e
commit 59ab79a73d

View File

@@ -39,7 +39,7 @@ test_timezone() {
if [[ -f /etc/timezone ]]; then
assert_eq "$(cat /etc/timezone)" "Europe/Kiev"
fi
assert_in "Time zone: Europe/Kiev \(EEST, \+0[0-9]00\)" "$(timedatectl)"
assert_in "Time zone: Europe/Kiev \(EES*T, \+0[0-9]00\)" "$(timedatectl)"
if [[ -n "$ORIG_TZ" ]]; then
echo 'reset timezone to original'