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