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