aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Holger Weiss <holger@zedat.fu-berlin.de> 2014-07-21 22:20:57 +0200
committerGravatar Holger Weiss <holger@zedat.fu-berlin.de> 2014-07-21 22:20:57 +0200
commitb5611ea57167423481a73bebeadba0518cf3f1e9 (patch)
tree28517ac48d75d607e20c43087e1dcd9a9d15df2d
parentb785a770e4fbcdd6d11717eeb6eb00172eac4fb8 (diff)
downloadmonitoring-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-xtest.pl.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/test.pl.in b/test.pl.in
index 01a97ec0..2f2c44f2 100755
--- a/test.pl.in
+++ b/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 ) )