Last change
on this file since 3772 was 2725, checked in by Bruno Cornec, 13 years ago |
- Update mindi-busybox to 1.18.3 to avoid problems with the tar command which is now failing on recent versions with busybox 1.7.3
|
-
Property svn:executable
set to
*
|
File size:
672 bytes
|
Line | |
---|
1 | # Was seen leaking on NOMMU build
|
---|
2 |
|
---|
3 | echo "Warm up"
|
---|
4 | i=1; t=1; export t
|
---|
5 | while test $i != 400; do
|
---|
6 | t=valueA_$i true
|
---|
7 | : $((i++))
|
---|
8 | done
|
---|
9 |
|
---|
10 | memleak
|
---|
11 | echo "Measuring memory leak..."
|
---|
12 |
|
---|
13 | # Please copy the entire block from above verbatim
|
---|
14 | i=1; t=1; export t
|
---|
15 | while test $i != 400; do
|
---|
16 | t=valueA_$i true
|
---|
17 | : $((i++))
|
---|
18 | done
|
---|
19 | i=1; t=1; export t
|
---|
20 | while test $i != 400; do
|
---|
21 | t=valueA_$i true
|
---|
22 | : $((i++))
|
---|
23 | done
|
---|
24 | i=1; t=1; export t
|
---|
25 | while test $i != 400; do
|
---|
26 | t=valueA_$i true
|
---|
27 | : $((i++))
|
---|
28 | done
|
---|
29 | i=1; t=1; export t
|
---|
30 | while test $i != 400; do
|
---|
31 | t=valueA_$i true
|
---|
32 | : $((i++))
|
---|
33 | done
|
---|
34 |
|
---|
35 | memleak
|
---|
36 | kb=$?
|
---|
37 | if test $kb -le 4; then
|
---|
38 | echo Ok #$kb
|
---|
39 | else
|
---|
40 | echo "Bad: $kb kb (or more) leaked"
|
---|
41 | fi
|
---|
Note:
See
TracBrowser
for help on using the repository browser.