瀏覽代碼

tests: make tests reliable for forcing the locale to C

Signed-off-by: Sven Nierlein <sven@nierlein.de>
Sven Nierlein 9 年之前
父節點
當前提交
3bdf392ae5
共有 1 個文件被更改,包括 2 次插入0 次删除
  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