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:
parent
c14fe7e6c7
commit
5189055396
|
@ -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]
|
||||
|
|
Loading…
Reference in New Issue