]> git.ipfire.org Git - thirdparty/util-linux.git/commit
lib/timeutils: set TZ=GMT for unit test
authorKarel Zak <kzak@redhat.com>
Tue, 24 Jan 2023 15:42:42 +0000 (16:42 +0100)
committerKarel Zak <kzak@redhat.com>
Tue, 24 Jan 2023 15:42:42 +0000 (16:42 +0100)
commit73fb8efeefc3ebdc8f5f04cecd3a4e7ef71fde20
treed45235a6d8fcdf5e0d0980ffd9ba669cb3a22c31
parentbdd6e9f536426923645b98efa6cc2bc62d119dd7
lib/timeutils: set TZ=GMT for unit test

It seems better to explicitly set timezone rather than assume some
default libc behavior and system setting.

Addresses: https://github.com/util-linux/util-linux/pull/2025
Signed-off-by: Karel Zak <kzak@redhat.com>
lib/timeutils.c