Last change
on this file since 3531 was 2725, checked in by Bruno Cornec, 14 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:
440 bytes
|
Line | |
---|
1 | echo "Warm up"
|
---|
2 | i=1
|
---|
3 | while test $i != 99; do
|
---|
4 | : <<HERE
|
---|
5 | Hello $i `echo builtin_$i`
|
---|
6 | HERE
|
---|
7 | : $((i++))
|
---|
8 | done
|
---|
9 |
|
---|
10 | memleak
|
---|
11 |
|
---|
12 | echo "Measuring memory leak..."
|
---|
13 | i=1
|
---|
14 | while test $i != 99; do
|
---|
15 | : <<HERE
|
---|
16 | Hello $i `echo builtin_$i`
|
---|
17 | HERE
|
---|
18 | : $((i++))
|
---|
19 | done
|
---|
20 | i=1
|
---|
21 | while test $i != 99; do
|
---|
22 | : <<HERE
|
---|
23 | Hello $i `echo builtin_$i`
|
---|
24 | HERE
|
---|
25 | : $((i++))
|
---|
26 | done
|
---|
27 |
|
---|
28 | memleak
|
---|
29 | kb=$?
|
---|
30 | if test $kb -le 4; then
|
---|
31 | echo Ok #$kb
|
---|
32 | else
|
---|
33 | echo "Bad: $kb kb (or more) leaked"
|
---|
34 | fi
|
---|
Note:
See
TracBrowser
for help on using the repository browser.