This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Re: perl@12605 on VMS, [minor PATCH enclosed]
authorCharles Lane <lane@DUPHY4.Physics.Drexel.Edu>
Fri, 26 Oct 2001 08:34:46 +0000 (04:34 -0400)
committerJarkko 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

index 887f810..d0300be 100644 (file)
@@ -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;
+}