summaryrefslogtreecommitdiffstats
path: root/test.pl.in
diff options
context:
space:
mode:
authorHolger Weiss <holger@zedat.fu-berlin.de>2014-07-21 20:20:57 (GMT)
committerHolger Weiss <holger@zedat.fu-berlin.de>2014-07-21 20:20:57 (GMT)
commitb5611ea57167423481a73bebeadba0518cf3f1e9 (patch)
tree28517ac48d75d607e20c43087e1dcd9a9d15df2d /test.pl.in
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.
Diffstat (limited to 'test.pl.in')
-rwxr-xr-xtest.pl.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/test.pl.in b/test.pl.in
index 01a97ec..2f2c44f 100755
--- a/test.pl.in
+++ b/test.pl.in
@@ -9,6 +9,8 @@ use Getopt::Long;
9 9
10use NPTest qw(DetermineTestHarnessDirectory TestsFrom); 10use NPTest qw(DetermineTestHarnessDirectory TestsFrom);
11 11
12$ENV{LC_ALL} = 'C';
13
12my @tstdir; 14my @tstdir;
13 15
14if ( ! GetOptions( "testdir:s" => \@tstdir ) ) 16if ( ! GetOptions( "testdir:s" => \@tstdir ) )