Browse Source

Use "C" locale when running test suite

Some of our tests check locale-dependent plugin output, so let's make
sure "make test" is always using the "C" locale.
Holger Weiss 11 years ago
parent
commit
674ce23f2b
1 changed files with 2 additions and 0 deletions
  1. 2 0
      test.pl.in

+ 2 - 0
test.pl.in

@@ -9,6 +9,8 @@ use Getopt::Long;
 
 use NPTest qw(DetermineTestHarnessDirectory TestsFrom);
 
+$ENV{LC_ALL} = 'C';
+
 my @tstdir;
 
 if ( ! GetOptions( "testdir:s" => \@tstdir ) )