Module: monitoring-plugins
 Branch: master
 Commit: b5611ea57167423481a73bebeadba0518cf3f1e9
 Author: Holger Weiss <[email protected]>
   Date: Mon Jul 21 22:20:57 2014 +0200
    URL: 
https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=b5611ea

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.

---

 test.pl.in | 2 ++
 1 file changed, 2 insertions(+)

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;
 
 use NPTest qw(DetermineTestHarnessDirectory TestsFrom);
 
+$ENV{LC_ALL} = 'C';
+
 my @tstdir;
 
 if ( ! GetOptions( "testdir:s" => \@tstdir ) )

Reply via email to