0027901: Resource_Manager creates directory with insufficient permissions
[occt.git] / tests / bugs / fclasses / bug7287_1
CommitLineData
352ffd73 1puts "============"
2puts "OCC7287"
3puts "============"
4puts ""
5######################################################
6# Problem of Memory Leak
7######################################################
8
9#
10# Result is Null shape
11#
12
13set BugNumber OCC7287
14
9aa684ed 15set NCycles 10
352ffd73 16box b1 100 100 100
17box b2 50 50 50
488e5b9d 18bop b1 b2
19bopcut r
352ffd73 20
21set listmem {}
22for {set i 1} {${i} <= ${NCycles}} {incr i } {
5d05cf31 23 bop b1 b2
352ffd73 24 bopcut r
9aa684ed 25
67a1064e 26 lappend listmem [meminfo h]
488e5b9d 27 checktrend $listmem 0 10 "Memory leak detected"
352ffd73 28}