From bd9f0ebfcceb3f4cd93610fee8a3982e77d70277 Mon Sep 17 00:00:00 2001 From: Todd Rinaldo Date: Thu, 12 May 2011 22:39:22 -0700 Subject: [PATCH] RT72688 - Benchmark.t test 24 bug when the testing system is under load. --- lib/Benchmark.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Benchmark.t b/lib/Benchmark.t index c29ed1a..e54d829 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")'); -- 2.7.4