From 054559e9ad19b1a90ee0cac7d5106e5e0a809fb7 Mon Sep 17 00:00:00 2001 From: Tony Cook Date: Wed, 11 Sep 2013 23:13:56 +1000 Subject: [PATCH] [perl #88814] sigdispatch.t work on openbsd 5.2 --- t/op/sigdispatch.t | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/t/op/sigdispatch.t b/t/op/sigdispatch.t index 1ce047d..1105504 100644 --- a/t/op/sigdispatch.t +++ b/t/op/sigdispatch.t @@ -42,8 +42,9 @@ is($@, "Alarm!\n", 'after the second loop'); SKIP: { skip('We can\'t test blocking without sigprocmask', 17) if is_miniperl() || !$Config{d_sigprocmask}; - skip('This doesn\'t work on $^O threaded builds RT#88814', 17) - if $^O =~ /openbsd|cygwin/ && $Config{useithreads}; + skip("This doesn\'t work on $^O threaded builds RT#88814", 17) + if ($^O =~ /cygwin/ || $^O eq "openbsd" && $Config{osvers} < 5.2) + && $Config{useithreads}; require POSIX; my $pending = POSIX::SigSet->new(); -- 2.7.4