t/pt-ioprofile/pt-ioprofile.t: Be slightly laxer about fractional seconds in a test to avoid white smoke

This commit is contained in:
Brian Fraser fraserb@gmail.com
2012-07-15 19:05:12 -03:00
parent 7574e19821
commit 03e45f97b8

View File

@@ -50,8 +50,8 @@ like(
# If the system is really slow, it may take a second to process the files # If the system is really slow, it may take a second to process the files
# and then clean up all the temp stuff. We'll give it a few seconds benefit of the doubt. # and then clean up all the temp stuff. We'll give it a few seconds benefit of the doubt.
cmp_ok( cmp_ok(
$t1 - $t0, int($t1 - $t0),
'<', '<=',
6, 6,
"Runs for --run-time, more or less" "Runs for --run-time, more or less"
); );