[strip-nondeterminism] 02/02: Also set timezone in tests. (Closes: #837382)
Chris Lamb
chris at chris-lamb.co.uk
Sun Sep 11 21:54:10 UTC 2016
This is an automated email from the git hooks/post-receive script.
lamby pushed a commit to branch master
in repository strip-nondeterminism.
commit 1303f18fba0134a01be7cc384afcf514b5fbd936
Author: Chris Lamb <lamby at debian.org>
Date: Sun Sep 11 22:53:08 2016 +0100
Also set timezone in tests. (Closes: #837382)
---
t/fixtures.t | 2 ++
t/javaproperties.t | 2 ++
2 files changed, 4 insertions(+)
diff --git a/t/fixtures.t b/t/fixtures.t
index ca18f45..fda489b 100644
--- a/t/fixtures.t
+++ b/t/fixtures.t
@@ -46,6 +46,8 @@ my %STAT = (
12 => "blocks (actual number of system-specific blocks allocated on disk)",
);
+File::StripNondeterminism::init();
+
$File::StripNondeterminism::canonical_time = 1423159771;
my @fixtures = glob('t/fixtures/*/*.in');
diff --git a/t/javaproperties.t b/t/javaproperties.t
index e63b116..123a7df 100644
--- a/t/javaproperties.t
+++ b/t/javaproperties.t
@@ -27,6 +27,8 @@ use File::StripNondeterminism;
use strict;
use warnings;
+File::StripNondeterminism::init();
+
my $dir = tempdir( CLEANUP => 1 );
my $path;
my $fh;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/strip-nondeterminism.git
More information about the Reproducible-commits
mailing list