1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
From f87179ba3988910d0d95af1143035e77879bbeb6 Mon Sep 17 00:00:00 2001
From: gregor herrmann <gregoa@debian.org>
Date: Tue, 11 Oct 2016 20:40:39 +0200
Subject: set LC_ALL to C
LANG overrides only not set LC_variables, so if LC_CTYPE is set in the
environment, it persists and tons of tests fail.
Origin: vendor
Author: gregor herrmann <gregoa@debian.org>
Last-Update: 2016-10-11
Patch-Name: test_locale.diff
---
lib/RT/Test.pm | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/RT/Test.pm b/lib/RT/Test.pm
index 4e2af194..3ee461ca 100644
--- a/lib/RT/Test.pm
+++ b/lib/RT/Test.pm
@@ -114,6 +114,7 @@ my @ports; # keep track of all the random ports we used
BEGIN {
delete $ENV{$_} for qw/LANGUAGE LC_ALL LC_MESSAGES LANG/;
$ENV{LANG} = "C";
+ $ENV{LC_ALL} = "C";
};
sub import {
|