Last change
on this file since 3528 was 3320, checked in by Bruno Cornec, 10 years ago |
- Re-add (thanks git BTW) the 2.2.9 branch which had been destroyed in
the move to 3.0
|
-
Property svn:executable
set to
*
|
File size:
339 bytes
|
Rev | Line | |
---|
[3320] | 1 | echo "Warm up"
|
---|
| 2 | i=1
|
---|
| 3 | while test $i != 9; do
|
---|
| 4 | `true`
|
---|
| 5 | : $((i++))
|
---|
| 6 | done
|
---|
| 7 |
|
---|
| 8 | memleak
|
---|
| 9 |
|
---|
| 10 | echo "Measuring memory leak..."
|
---|
| 11 | i=1
|
---|
| 12 | while test $i != 199; do
|
---|
| 13 | `true`
|
---|
| 14 | : $((i++))
|
---|
| 15 | done
|
---|
| 16 | i=1
|
---|
| 17 | while test $i != 199; do
|
---|
| 18 | `true`
|
---|
| 19 | : $((i++))
|
---|
| 20 | done
|
---|
| 21 |
|
---|
| 22 | memleak
|
---|
| 23 | kb=$?
|
---|
| 24 | if test $kb -le 4; then
|
---|
| 25 | echo Ok #$kb
|
---|
| 26 | else
|
---|
| 27 | echo "Bad: $kb kb (or more) leaked"
|
---|
| 28 | fi
|
---|
Note:
See
TracBrowser
for help on using the repository browser.