summaryrefslogtreecommitdiff
path: root/lib/Benchmark.t
diff options
context:
space:
mode:
authorTodd Rinaldo <toddr@cpan.org>2011-05-12 22:39:22 -0700
committerFather Chrysostomos <sprout@cpan.org>2011-05-18 15:37:19 -0700
commitbd9f0ebfcceb3f4cd93610fee8a3982e77d70277 (patch)
treea2276eb7997412738cb310c2627d95517eea0c59 /lib/Benchmark.t
parentdc0a4df9bd81cf2f85d0e8bc6df75a3ce468b020 (diff)
downloadperl-bd9f0ebfcceb3f4cd93610fee8a3982e77d70277.tar.gz
RT72688 - Benchmark.t test 24 bug when the testing system is under load.
Diffstat (limited to 'lib/Benchmark.t')
-rw-r--r--lib/Benchmark.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Benchmark.t b/lib/Benchmark.t
index c29ed1ae88..e54d8294c0 100644
--- a/lib/Benchmark.t
+++ b/lib/Benchmark.t
@@ -122,7 +122,7 @@ is ($auto, $default, 'timestr ($diff, "auto") matches timestr ($diff)');
is (timestr ($diff, 'none'), '', "none suppresses output");
my $noc = timestr ($diff, 'noc');
- like ($noc, qr/$wallclock +wallclock secs? +\( *$usr +usr +\+ +$sys +sys += +$cpu +CPU\)/, 'timestr ($diff, "noc")');
+ like ($noc, qr/$wallclock +wallclock secs? +\( *$usr +usr +\+ +$sys +sys += +\d+\.\d\d +CPU\)/, 'timestr ($diff, "noc")');
my $nop = timestr ($diff, 'nop');
like ($nop, qr/$wallclock +wallclock secs? +\( *$cusr +cusr +\+ +$csys +csys += +\d+\.\d\d +CPU\)/, 'timestr ($diff, "nop")');