diff options
author | Holger Weiss <holger@zedat.fu-berlin.de> | 2014-07-21 22:20:57 +0200 |
---|---|---|
committer | Holger Weiss <holger@zedat.fu-berlin.de> | 2014-07-21 22:20:57 +0200 |
commit | b5611ea57167423481a73bebeadba0518cf3f1e9 (patch) | |
tree | 28517ac48d75d607e20c43087e1dcd9a9d15df2d | |
parent | b785a770e4fbcdd6d11717eeb6eb00172eac4fb8 (diff) | |
download | monitoring-plugins-b5611ea57167423481a73bebeadba0518cf3f1e9.tar.gz |
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.
-rwxr-xr-x | test.pl.in | 2 |
1 files changed, 2 insertions, 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 ) ) |