diff options
author | Andy Dougherty <doughera@lafayette.edu> | 2004-11-16 07:11:00 -0500 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2004-11-17 08:31:39 +0000 |
commit | 5f80d42683004bd2b22b92ed63c66637a4123be2 (patch) | |
tree | c5ab61aad00bab550893df45a4bb52517327dac3 | |
parent | dfb1454fc4d475052564cd52d54284a5565a13e1 (diff) | |
download | perl-5f80d42683004bd2b22b92ed63c66637a4123be2.tar.gz |
Allow more tries for t/op/time.t test 2.
Message-ID: <Pine.SOL.4.58.0411161149170.5639@maxwell.phys.lafayette.edu>
p4raw-id: //depot/perl@23505
-rwxr-xr-x | t/op/time.t | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/t/op/time.t b/t/op/time.t index 2de3a03372..2105e9dc41 100755 --- a/t/op/time.t +++ b/t/op/time.t @@ -32,14 +32,14 @@ while (($now = time) == $beg) { sleep 1 } ok($now > $beg && $now - $beg < 10, 'very basic time test'); -for ($i = 0; $i < 100000; $i++) { +for ($i = 0; $i < 1_000_000; $i++) { ($nowuser, $nowsys) = times; - $i = 200000 if $nowuser > $beguser && ( $nowsys >= $begsys || + $i = 2_000_000 if $nowuser > $beguser && ( $nowsys >= $begsys || (!$nowsys && !$begsys)); last if time - $beg > 20; } -ok($i >= 200000, 'very basic times test'); +ok($i >= 2_000_000, 'very basic times test'); ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime($beg); ($xsec,$foo) = localtime($now); |