cpu_quota.run: fix bug in error detection

The test always succeeded because I forgot to set the error tolerance from
my debugging value 1 back to the correct value 0.01 before commiting the
test.

Ref #1616
This commit is contained in:
Martin Stein 2015-07-03 12:19:41 +02:00 committed by Norman Feske
parent c14fe7e6c7
commit 5189055396
1 changed files with 1 additions and 1 deletions

View File

@ -143,7 +143,7 @@ run_genode_until ".*done.*\n.*done.*\n.*done.*\n" 100
proc check_counter { name opt cnt total_cnt } {
set err 1
set err 0.01
set is [expr double($cnt) / $total_cnt ]
set is_pc [expr double(round($is * 100000)) / 1000]
set opt_pc [expr double(round($opt * 100000)) / 1000]