Explorar o código

tests: make tests reliable for forcing the locale to C

Signed-off-by: Sven Nierlein <sven@nierlein.de>
Sven Nierlein %!s(int64=9) %!d(string=hai) anos
pai
achega
3bdf392ae5
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      plugins/tests/check_http.t

+ 2 - 0
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