[pve-devel] [PATCH common] tests: run with static TZ value

Fabian Grünbichler f.gruenbichler at proxmox.com
Wed May 19 11:49:19 CEST 2021


else tests may randomly fail depending on which local TZ is set..

Signed-off-by: Fabian Grünbichler <f.gruenbichler at proxmox.com>
---
 test/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/Makefile b/test/Makefile
index 85ecac5..27489de 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -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:
-- 
2.20.1






More information about the pve-devel mailing list