2013-03-16 02:58:00 +08:00
|
|
|
<testcase>
|
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
TrackMemory
|
|
|
|
</keywords>
|
|
|
|
</info>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Server-side
|
|
|
|
<reply>
|
|
|
|
</reply>
|
|
|
|
|
|
|
|
# Client-side
|
|
|
|
<client>
|
|
|
|
<server>
|
|
|
|
none
|
|
|
|
</server>
|
|
|
|
<features>
|
|
|
|
TrackMemory
|
|
|
|
</features>
|
|
|
|
# tool is what to use instead of 'curl'
|
|
|
|
<tool>
|
|
|
|
lib558
|
|
|
|
</tool>
|
|
|
|
|
|
|
|
<name>
|
|
|
|
libtest memory tracking operational
|
|
|
|
</name>
|
|
|
|
<command>
|
|
|
|
nothing
|
|
|
|
</command>
|
|
|
|
</client>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
2014-02-01 07:58:58 +08:00
|
|
|
<file name="log/memdump">
|
2013-03-16 07:59:17 +08:00
|
|
|
MEM lib558.c: malloc()
|
|
|
|
MEM lib558.c: free()
|
|
|
|
MEM escape.c: malloc()
|
|
|
|
MEM escape.c: realloc()
|
|
|
|
MEM escape.c: realloc()
|
|
|
|
MEM escape.c: free()
|
2013-03-16 02:58:00 +08:00
|
|
|
</file>
|
|
|
|
<stripfile>
|
|
|
|
s/ =.*//
|
|
|
|
s/\(.*\)/()/
|
|
|
|
s/:\d+/:/
|
2013-03-16 07:59:17 +08:00
|
|
|
s:^(MEM )(.*/)(.*):$1$3:
|
2013-03-16 02:58:00 +08:00
|
|
|
</stripfile>
|
|
|
|
</verify>
|
|
|
|
|
|
|
|
</testcase>
|