Explorar el Código

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 hace 11 años
padre
commit
674ce23f2b
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  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 ) )