[Rt-commit] rt branch, 4.0/make-date-tests-locale-independent, created. rt-4.0.1rc1-5-gea55380

Ruslan Zakirov ruz at bestpractical.com
Thu May 26 17:34:20 EDT 2011


The branch, 4.0/make-date-tests-locale-independent has been created
        at  ea553805004e2fe114778029939aaf2d2c4670d5 (commit)

- Log -----------------------------------------------------------------
commit ea553805004e2fe114778029939aaf2d2c4670d5
Author: Ruslan Zakirov <ruz at bestpractical.com>
Date:   Fri May 27 00:49:23 2011 +0400

    if LANG is not english then tests got confused

diff --git a/t/api/date.t b/t/api/date.t
index 9756e51..bd8602a 100644
--- a/t/api/date.t
+++ b/t/api/date.t
@@ -1,5 +1,7 @@
 #!/usr/bin/perl
 
+BEGIN { $ENV{'LANG'} = 'C'; $ENV{'LC_ALL'} = ''; }
+
 use Test::MockTime qw(set_fixed_time restore_time);
 use DateTime;
 

-----------------------------------------------------------------------


More information about the Rt-commit mailing list