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