Procházet zdrojové kódy

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 před 11 roky
rodič
revize
674ce23f2b
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  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 ) )