Set TZ to make tests work on other boxes.

This commit is contained in:
Daniel Nichter
2012-03-07 10:22:38 -07:00
parent 14760f22d3
commit fe3b5de233
2 changed files with 4 additions and 0 deletions

View File

@@ -23,6 +23,8 @@ my $in2 = "$trunk/t/pt-tcp-model/samples/in/";
my $out = "t/pt-tcp-model/samples/out/";
my $output = '';
$ENV{TZ}='MST7MDT';
# ############################################################################
# Basic queries that parse without problems.
# ############################################################################

View File

@@ -19,6 +19,8 @@ my $in = "$trunk/t/lib/samples/slowlogs";
my $out = "t/pt-trend/samples/";
my @args = ();
$ENV{TZ}='MST7MDT';
ok(
no_diff(
sub { pt_trend::main(@args, "$in/slow053.txt") },