summaryrefslogtreecommitdiff
path: root/t/re
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2022-07-26 15:47:18 -0600
committerKarl Williamson <khw@cpan.org>2022-07-26 21:28:14 -0600
commit3b71795cc7fe29b5002ff8fb0da75bff32988185 (patch)
treee6958ded40998b6a10a399aea319c6439d7631ff /t/re
parent456e272f9cede0146ec974149f7c80e7073e27b9 (diff)
downloadperl-3b71795cc7fe29b5002ff8fb0da75bff32988185.tar.gz
charset.t: Requires LC_ALL, LC_CTYPE to run
Diffstat (limited to 't/re')
-rw-r--r--t/re/charset.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/re/charset.t b/t/re/charset.t
index cc8532af02..c95c276bd4 100644
--- a/t/re/charset.t
+++ b/t/re/charset.t
@@ -125,7 +125,7 @@ if ($ENV{PERL_DEBUG_FULL_TEST}) {
my $utf8_locale;
my @charsets = qw(a d u aa);
-my $locales_ok = locales_enabled('LC_CTYPE');
+my $locales_ok = locales_enabled([ 'LC_CTYPE', 'LC_ALL' ]);
if (! is_miniperl() && $locales_ok) {
require POSIX;
my $current_locale = POSIX::setlocale( &POSIX::LC_ALL, "C") // "";