[monitoring-plugins] tests: make tests reliable for forcing the locale ...

Sven Nierlein git at monitoring-plugins.org
Fri Nov 11 11:00:12 CET 2016


 Module: monitoring-plugins
 Branch: master
 Commit: 3bdf392ae57f35fabce9bffc84b119a1d656ff32
 Author: Sven Nierlein <sven at nierlein.de>
   Date: Fri Nov 11 10:52:19 2016 +0100
    URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=3bdf392

tests: make tests reliable for forcing the locale to C

Signed-off-by: Sven Nierlein <sven at nierlein.de>

---

 plugins/tests/check_http.t | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/plugins/tests/check_http.t b/plugins/tests/check_http.t
index 3aaac8b..ec0f085 100755
--- a/plugins/tests/check_http.t
+++ b/plugins/tests/check_http.t
@@ -17,6 +17,8 @@ use Test::More;
 use NPTest;
 use FindBin qw($Bin);
 
+$ENV{'LC_TIME'} = "C";
+
 my $common_tests = 70;
 my $ssl_only_tests = 8;
 # Check that all dependent modules are available



More information about the Commits mailing list