From 653067154b697fb4a6a1d72665b8dd3424cd45b9 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
Forwarded: not-needed
---
 lib/RT/Test.pm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/RT/Test.pm b/lib/RT/Test.pm
index ef6187e0..3954dd54 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 {
