[monitoring-plugins] tests: make tests reliable for forcing the locale ...
Sven Nierlein <[email protected]> Fri, 11 Nov 2016 11:00:12 +0100 (CET)
| Newsgroups | gmane.network.nagios.cvs |
|---|---|
| Message-ID | <20161111100012.A95032008484__41965.4478821487$1478858465$gmane$org@orwell.monitoring-plugins.org> |
Module: monitoring-plugins Branch: master Commit: 3bdf392ae57f35fabce9bffc84b119a1d656ff32 Author: Sven Nierlein <[email protected]> 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 <[email protected]> --- 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