Selaa lähdekoodia

tests: make tests reliable for forcing the locale to C

Signed-off-by: Sven Nierlein <sven@nierlein.de>
Sven Nierlein 9 vuotta sitten
vanhempi
commit
3bdf392ae5
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  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