test: force ctime to UTC

otherwise this test fails depending on TZ of the testing system

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
Fabian Grünbichler
2020-05-04 11:10:56 +02:00
parent 2eb7ba261d
commit aa738ee355
2 changed files with 13 additions and 10 deletions

View File

@ -3,6 +3,9 @@
use strict;
use warnings;
# to ensure consistent ctime values on all systems
$ENV{TZ} = 'UTC';
use TAP::Harness;
my $harness = TAP::Harness->new( { verbosity => -1 });