Re: overriding builtins quirk
[p5sagit/p5-mst-13.2.git] / t / op / alarm.t
index 907c385..8fb9296 100644 (file)
@@ -44,4 +44,8 @@ $diff = time - $start_time;
 # alarm time might be one second less than you said.
 is( $@, "ALARM!\n",             'alarm w/$SIG{ALRM} vs system()' );
 
-ok( abs($diff - 3) <= 1,   '   right time' );
+{
+    local $TODO = "Why does system() block alarm() on $^O?"
+               if $^O eq 'VMS' || $^O eq'MacOS' || $^O eq 'dos';
+    ok( abs($diff - 3) <= 1,   "   right time (waited $diff secs for 3-sec alarm)" );
+}