mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
tests/leaks.sh: avoid false leak: pre-run test (re: fe20311f
)
This commit is contained in:
parent
fe20311fe9
commit
0d3bedd67d
1 changed files with 1 additions and 0 deletions
|
@ -301,6 +301,7 @@ function func1
|
||||||
EOF
|
EOF
|
||||||
FPATH=$tmp
|
FPATH=$tmp
|
||||||
autoload func1
|
autoload func1
|
||||||
|
a=`func1` # steady memory state
|
||||||
before=$(getmem)
|
before=$(getmem)
|
||||||
for ((i=0; i < N; i++))
|
for ((i=0; i < N; i++))
|
||||||
do a=`func1`
|
do a=`func1`
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue