diff options
| author | Sven Nierlein <sven@nierlein.de> | 2016-11-11 10:52:19 +0100 |
|---|---|---|
| committer | Sven Nierlein <sven@nierlein.de> | 2016-11-11 10:52:19 +0100 |
| commit | 3bdf392ae57f35fabce9bffc84b119a1d656ff32 (patch) | |
| tree | 17c90c02ddb544e019b9f8819389de6532784fa3 | |
| parent | 6e7ea28cd47ff1dcb6925e2664a42d2434414d62 (diff) | |
| download | monitoring-plugins-3bdf392.tar.gz | |
tests: make tests reliable for forcing the locale to C
Signed-off-by: Sven Nierlein <sven@nierlein.de>
| -rwxr-xr-x | plugins/tests/check_http.t | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/tests/check_http.t b/plugins/tests/check_http.t index 3aaac8b7..ec0f0857 100755 --- a/plugins/tests/check_http.t +++ b/plugins/tests/check_http.t | |||
| @@ -17,6 +17,8 @@ use Test::More; | |||
| 17 | use NPTest; | 17 | use NPTest; |
| 18 | use FindBin qw($Bin); | 18 | use FindBin qw($Bin); |
| 19 | 19 | ||
| 20 | $ENV{'LC_TIME'} = "C"; | ||
| 21 | |||
| 20 | my $common_tests = 70; | 22 | my $common_tests = 70; |
| 21 | my $ssl_only_tests = 8; | 23 | my $ssl_only_tests = 8; |
| 22 | # Check that all dependent modules are available | 24 | # Check that all dependent modules are available |
