SIGRTMIN & SIGRTMAX on Cygwin both 32. sig_count = 33, but
authorH.Merijn Brand <h.m.brand@xs4all.nl>
Sun, 31 Jul 2005 15:50:45 +0000 (15:50 +0000)
committerH.Merijn Brand <h.m.brand@xs4all.nl>
Sun, 31 Jul 2005 15:50:45 +0000 (15:50 +0000)
POSIX::SigRt is not available on use

p4raw-id: //depot/perl@25248

ext/POSIX/t/sigaction.t

index e8a7018..240110b 100644 (file)
@@ -179,7 +179,7 @@ kill 'HUP', $$;
 ok($ok, "safe signal delivery must work");
 
 SKIP: {
-    eval 'use POSIX qw(%SIGRT SIGRTMIN SIGRTMAX); SIGRTMIN() + SIGRTMAX()';
+    eval 'use POSIX qw(%SIGRT SIGRTMIN SIGRTMAX); scalar %SIGRT + SIGRTMIN() + SIGRTMAX()';
     $@                                 # POSIX did not exort
     || SIGRTMIN() < 0 || SIGRTMAX() < 0        # HP-UX 10.20 exports both as -1
     || SIGRTMIN() > $Config{sig_count} # AIX 4.3.3 exports bogus 888 and 999