]> git.ipfire.org Git - thirdparty/systemd.git/commit
test-time-util: Properly restore TZ variable
authorJan Janssen <medhefgo@web.de>
Wed, 24 Nov 2021 17:45:16 +0000 (18:45 +0100)
committerJan Janssen <medhefgo@web.de>
Thu, 25 Nov 2021 13:56:33 +0000 (14:56 +0100)
commit4d5ad9d951299c905453ac8e3769dc82b0a09fb4
treeaea4b946b047e096de36493a0a7092774afdfe53
parenta40b728e1172cc07a09e12dd56089ab37c8c5924
test-time-util: Properly restore TZ variable

The test fails to call tzset() after unsetting TZ variable, which
could break other tests. Also, let's be nicer and actually restore
the TZ to its original value.
src/test/test-time-util.c