2013-03-15 14:58:00 -04:00
|
|
|
<testcase>
|
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
unittest
|
|
|
|
TrackMemory
|
|
|
|
</keywords>
|
|
|
|
</info>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Server-side
|
|
|
|
<reply>
|
|
|
|
</reply>
|
|
|
|
|
|
|
|
# Client-side
|
|
|
|
<client>
|
|
|
|
<server>
|
|
|
|
none
|
|
|
|
</server>
|
|
|
|
<features>
|
|
|
|
unittest
|
|
|
|
TrackMemory
|
|
|
|
</features>
|
|
|
|
# tool is what to use instead of 'curl'
|
|
|
|
<tool>
|
|
|
|
unit1330
|
|
|
|
</tool>
|
|
|
|
|
|
|
|
<name>
|
|
|
|
unit tests memory tracking operational
|
|
|
|
</name>
|
|
|
|
<command>
|
|
|
|
nothing
|
|
|
|
</command>
|
|
|
|
</client>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
|
|
|
<file name="log/memdump" mode="text">
|
2013-03-15 19:59:17 -04:00
|
|
|
MEM unit1330.c: malloc()
|
|
|
|
MEM unit1330.c: free()
|
2013-03-15 14:58:00 -04:00
|
|
|
</file>
|
|
|
|
<stripfile>
|
|
|
|
s/ =.*//
|
|
|
|
s/\(.*\)/()/
|
|
|
|
s/:\d+/:/
|
2013-03-15 19:59:17 -04:00
|
|
|
s:^(MEM )(.*/)(.*):$1$3:
|
2013-03-15 14:58:00 -04:00
|
|
|
</stripfile>
|
|
|
|
</verify>
|
|
|
|
|
|
|
|
</testcase>
|