This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
302c2e6
)
Re: perl@12605 on VMS, [minor PATCH enclosed]
author
Charles Lane
<lane@DUPHY4.Physics.Drexel.Edu>
Fri, 26 Oct 2001 08:34:46 +0000
(
04:34
-0400)
committer
Jarkko Hietaniemi
<jhi@iki.fi>
Fri, 26 Oct 2001 13:16:03 +0000
(13:16 +0000)
Message-Id: <
011026081912
.dc29b@DUPHY4.Physics.Drexel.Edu>
p4raw-id: //depot/perl@12680
ext/Time/HiRes/HiRes.t
patch
|
blob
|
blame
|
history
diff --git
a/ext/Time/HiRes/HiRes.t
b/ext/Time/HiRes/HiRes.t
index
887f810
..
d0300be
100644
(file)
--- a/
ext/Time/HiRes/HiRes.t
+++ b/
ext/Time/HiRes/HiRes.t
@@
-241,6
+241,10
@@
eval { alarm(-3) };
print $@ =~ /::alarm\(-3, 0\): negative time not invented yet/ ?
"ok 24\n" : "not ok 24\n";
-eval { ualarm(-4) };
-print $@ =~ /::ualarm\(-4, 0\): negative time not invented yet/ ?
+if ($have_ualarm) {
+ eval { ualarm(-4) };
+ print $@ =~ /::ualarm\(-4, 0\): negative time not invented yet/ ?
"ok 25\n" : "not ok 25\n";
+} else {
+ skip 25;
+}