From beb7498fd34a9a899ec27dc7863c2f74d31df7d4 Mon Sep 17 00:00:00 2001 From: Stephen Thirlwall Date: Wed, 4 Jun 2014 10:13:46 +1000 Subject: [PATCH] LC_MESSAGES='C' to ensure known locale (not en_US) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Many thanks to Slaven Rezić (SREZIC) --- lib/Test/SVN/Repo.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Test/SVN/Repo.pm b/lib/Test/SVN/Repo.pm index 9473216..ebb1a87 100644 --- a/lib/Test/SVN/Repo.pm +++ b/lib/Test/SVN/Repo.pm @@ -166,8 +166,8 @@ sub _choose_random_port { sub _try_spawn_server { my ($self, $port) = @_; - # We're checking message text - need to ensure matching locale - local $ENV{LC_MESSAGES} = 'en_US'; + # We're checking message text - need to ensure known locale + local $ENV{LC_MESSAGES} = 'C'; my @cmd = ( 'svnserve', '-d', # daemon mode '--foreground', # don't actually daemonize