diff options
author | Tony Cook <tony@develop-help.com> | 2013-09-11 23:13:56 +1000 |
---|---|---|
committer | Tony Cook <tony@develop-help.com> | 2013-09-11 14:04:47 +1000 |
commit | 054559e9ad19b1a90ee0cac7d5106e5e0a809fb7 (patch) | |
tree | 76ac9a41c1de1f3f844e35e1e668f7a8df76acfe | |
parent | f46a3253ca26d92e35b9a4ce704f7541049caeaa (diff) | |
download | perl-054559e9ad19b1a90ee0cac7d5106e5e0a809fb7.tar.gz |
[perl #88814] sigdispatch.t work on openbsd 5.2
-rw-r--r-- | t/op/sigdispatch.t | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/t/op/sigdispatch.t b/t/op/sigdispatch.t index 1ce047d9b4..11055046eb 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(); |