+puts "TODO ?OCC25921 Linux: Tcl Exception: Memory leak detected"
+puts "TODO ?OCC25921 Linux: TEST INCOMPLETE"
+
+
puts "============"
puts "OCC7287"
puts "============"
set BugNumber OCC7287
-set NCycles 1000
+set NCycles 10
box b1 10 10 10 100 100 100
box b2 50 50 50
-bop b1 b2
+set listmem {}
for {set i 1} {${i} <= ${NCycles}} {incr i } {
+ bop b1 b2
bopfuse r
- lappend listmem [expr [meminfo w] / 1024]
- if { [checktrend $listmem 0 1 "Memory leak detected"] } {
- puts "No memory leak, $i iterations"
- break
- }
+ lappend listmem [meminfo h]
+ checktrend $listmem 0 100 "Memory leak detected"
}