瀏覽代碼

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 年之前
父節點
當前提交
674ce23f2b
共有 1 個文件被更改,包括 2 次插入0 次删除
  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 ) )