]> git.proxmox.com Git - pve-common.git/commitdiff
tests: run with static TZ value
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Wed, 19 May 2021 09:49:19 +0000 (11:49 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 19 May 2021 16:08:36 +0000 (18:08 +0200)
else tests may randomly fail depending on which local TZ is set..

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
test/Makefile

index 85ecac5fb9ec890bce16b18d1c0c260e25ef4cd7..27489de9b7b06588d5fa44a6d047ab78c591fcc2 100644 (file)
@@ -10,7 +10,7 @@ check: lock_file.test calendar_event_test.test convert_size_test.test procfs_tes
        for d in $(SUBDIRS); do $(MAKE) -C $$d check; done
 
 %.test: %.pl
-       ./$<
+       TZ=UTC-1 ./$<
 
 distclean: clean
 clean: