mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-02-18 18:17:50 -05:00
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.
This commit is contained in:
parent
b785a770e4
commit
b5611ea571
1 changed files with 2 additions and 0 deletions
|
|
@ -9,6 +9,8 @@ use Getopt::Long;
|
|||
|
||||
use NPTest qw(DetermineTestHarnessDirectory TestsFrom);
|
||||
|
||||
$ENV{LC_ALL} = 'C';
|
||||
|
||||
my @tstdir;
|
||||
|
||||
if ( ! GetOptions( "testdir:s" => \@tstdir ) )
|
||||
|
|
|
|||
Loading…
Reference in a new issue