From 4bc677234a7eb92539c11decafe80da27aee323a Mon Sep 17 00:00:00 2001 From: Chris 'BinGOs' Williams Date: Mon, 17 Feb 2014 21:03:54 +0000 Subject: [PATCH] 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 --- lib/locale.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/locale.t b/lib/locale.t index a330aa2..b195394 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; -- 2.7.4