summaryrefslogtreecommitdiff
path: root/ext/POSIX
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-10-12 20:13:06 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-10-12 20:13:06 +0000
commitfdfddb36b71daa065b87b70cd0b0355d51a15a6c (patch)
tree1d9b24a9f7a51e7360c2a5d6433f81e684b1d3ab /ext/POSIX
parentc769dab1330c7d1180df42fa9bea6c7173b1d743 (diff)
downloadperl-fdfddb36b71daa065b87b70cd0b0355d51a15a6c.tar.gz
VMS pre-7.0 (which doesn't have sigaction()) uniformly
mishandles kill(), and therefore the sigaction test should be skipped, from Charles Lane. p4raw-id: //depot/perl@12415
Diffstat (limited to 'ext/POSIX')
-rw-r--r--ext/POSIX/t/sigaction.t3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/POSIX/t/sigaction.t b/ext/POSIX/t/sigaction.t
index 1045db6c3c..55a4d3beee 100644
--- a/ext/POSIX/t/sigaction.t
+++ b/ext/POSIX/t/sigaction.t
@@ -7,8 +7,9 @@ BEGIN {
BEGIN{
# Don't do anything if POSIX is missing, or sigaction missing.
+ use Config;
eval { use POSIX; };
- if($@ || $^O eq 'MSWin32' || $^O eq 'NetWare') {
+ if($@ || $^O eq 'MSWin32' || $^O eq 'NetWare' || ($^O eq 'VMS' && !$Config{'d_sigaction'})) {
print "1..0\n";
exit 0;
}