diff options
author | Dominic Hargreaves <dom@earth.li> | 2016-05-28 15:51:53 +0100 |
---|---|---|
committer | Dominic Hargreaves <dom@earth.li> | 2016-05-28 15:51:53 +0100 |
commit | d54f4edc5d7b2d0c486a36819c348aaec29b8470 (patch) | |
tree | 091be54248d82fd28a40dff233d7e6ada97d3643 /ext | |
parent | 997990fd7b2db8e6636731fc98ed2e1e000c4718 (diff) | |
download | perl-d54f4edc5d7b2d0c486a36819c348aaec29b8470.tar.gz |
ext/POSIX/t/sigaction.t: Skip uid and pid tests on GNU/Hurd
SA_SIGINFO does not include uid and pid on GNU/Hurd, and this is
unlikely to change in the near future, so skip these tests.
Thanks to Samuel Thibault for the report.
Bug-Debian: https://bugs.debian.org/825016
Diffstat (limited to 'ext')
-rw-r--r-- | ext/POSIX/lib/POSIX.pm | 2 | ||||
-rw-r--r-- | ext/POSIX/t/sigaction.t | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/ext/POSIX/lib/POSIX.pm b/ext/POSIX/lib/POSIX.pm index 6231bcbd6a..1bf8e62136 100644 --- a/ext/POSIX/lib/POSIX.pm +++ b/ext/POSIX/lib/POSIX.pm @@ -4,7 +4,7 @@ use warnings; our ($AUTOLOAD, %SIGRT); -our $VERSION = '1.69'; +our $VERSION = '1.70'; require XSLoader; diff --git a/ext/POSIX/t/sigaction.t b/ext/POSIX/t/sigaction.t index d19341c246..bce3b76615 100644 --- a/ext/POSIX/t/sigaction.t +++ b/ext/POSIX/t/sigaction.t @@ -202,7 +202,9 @@ SKIP: { $skip{pid}{$^O} = $skip{uid}{$^O} = "not set for kill()" if (($^O.$Config{osvers}) =~ /^darwin[0-8]\./ || - ($^O.$Config{osvers}) =~ /^openbsd[0-5]\./); + ($^O.$Config{osvers}) =~ /^openbsd[0-5]\./ + || + ($^O eq 'gnu')); my $tests = keys %{{ %siginfo, %opt_val }}; eval 'use POSIX qw(SA_SIGINFO); SA_SIGINFO'; skip("no SA_SIGINFO", $tests) if $@; |