From: Jesse Vincent Date: Wed, 3 Feb 2010 15:23:58 +0000 (-0800) Subject: add a watchdog for schwern's time overflow tests. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=ea4c52f0a523df1f06490e701866bb9594395b00;p=p5sagit%2Fp5-mst-13.2.git add a watchdog for schwern's time overflow tests. --- diff --git a/t/op/time.t b/t/op/time.t index baff462..5515634 100644 --- a/t/op/time.t +++ b/t/op/time.t @@ -8,6 +8,12 @@ BEGIN { plan tests => 56; +# These tests make sure, among other things, that we don't end up +# burning tons of CPU for dates far in the future. +# watchdog() makes sure that the test script eventually exits if +# the tests are triggering the failing behavior +watchdog(15); + ($beguser,$begsys) = times; $beg = time;