summaryrefslogtreecommitdiff
path: root/lib/locale.t
diff options
context:
space:
mode:
authorChris 'BinGOs' Williams <chris@bingosnet.co.uk>2014-02-17 21:03:54 +0000
committerChris 'BinGOs' Williams <chris@bingosnet.co.uk>2014-02-17 21:27:42 +0000
commit4bc677234a7eb92539c11decafe80da27aee323a (patch)
treebe7a14e55c0ed9553e296d48140af603bdd12eaa /lib/locale.t
parent91e4447ad17c1687664c3d73092318aa84d013a3 (diff)
downloadperl-4bc677234a7eb92539c11decafe80da27aee323a.tar.gz
Skip locale test on OpenBSD, MirBSD and Bitrig too
From the original ticket #115808 the following should produce "Use of uninitialized value in print at -e line 1." $ perl -wle 'use POSIX; print length setlocale POSIX::LC_ALL, "mtfnpy"' 16 So skip this test on OpenBSD, MirBSD and Bitrig
Diffstat (limited to 'lib/locale.t')
-rw-r--r--lib/locale.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/locale.t b/lib/locale.t
index a330aa2cc4..b195394196 100644
--- a/lib/locale.t
+++ b/lib/locale.t
@@ -1852,7 +1852,7 @@ foreach $test_num ($first_locales_test_number..$final_locales_test_number) {
$test_num = $final_locales_test_number;
-unless ( $^O eq 'dragonfly' ) {
+unless ( $^O =~ m!^(dragonfly|openbsd|bitrig|mirbsd)$! ) {
# perl #115808
use warnings;
my $warned = 0;