7e86df
From a2f57b06b018b254bee93e1a1265cfc09833366f Mon Sep 17 00:00:00 2001
7e86df
From: Karl Williamson <khw@cpan.org>
7e86df
Date: Tue, 9 Feb 2021 11:32:15 -0700
7e86df
Subject: [PATCH] t/run/locale.t: Rmv LANGUAGE from environment
7e86df
MIME-Version: 1.0
7e86df
Content-Type: text/plain; charset=UTF-8
7e86df
Content-Transfer-Encoding: 8bit
7e86df
7e86df
This could cause interference with our tests on some platforms that have
7e86df
this environment variable.
7e86df
7e86df
Signed-off-by: Petr Písař <ppisar@redhat.com>
7e86df
---
7e86df
 t/run/locale.t | 2 +-
7e86df
 1 file changed, 1 insertion(+), 1 deletion(-)
7e86df
7e86df
diff --git a/t/run/locale.t b/t/run/locale.t
7e86df
index 8a04d1aea6..0f2a2ba457 100644
7e86df
--- a/t/run/locale.t
7e86df
+++ b/t/run/locale.t
7e86df
@@ -38,7 +38,7 @@ if (defined $ARGV[0] && $ARGV[0] ne "") {
7e86df
 }
7e86df
 
7e86df
 # reset the locale environment
7e86df
-delete local @ENV{'LANG', (grep /^LC_[A-Z]+$/, keys %ENV)};
7e86df
+delete local @ENV{'LANGUAGE', 'LANG', (grep /^LC_[A-Z]+$/, keys %ENV)};
7e86df
 
7e86df
 # If user wants this to happen, they set the environment variable AND use
7e86df
 # 'debug'
7e86df
-- 
7e86df
2.26.2
7e86df