123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- <testcase>
- <info>
- <keywords>
- unittest
- TrackMemory
- </keywords>
- </info>
- #
- # Server-side
- <reply>
- </reply>
- # Client-side
- <client>
- <server>
- none
- </server>
- <features>
- unittest
- TrackMemory
- </features>
- <name>
- unit tests memory tracking operational
- </name>
- <command>
- nothing
- </command>
- </client>
- #
- # Verify data after the test has been "shot"
- <verify>
- <file name="%LOGDIR/memdump">
- MEM unit%TESTNUMBER.c: malloc()
- MEM unit%TESTNUMBER.c: free()
- </file>
- <stripfile>
- s/ =.*//
- s/\(.*\)/()/
- s/:\d+/:/
- s:^(MEM )(.*/)(.*):$1$3:
- s/\r\n/\n/
- s/^MEM getenv.c: realloc\(\)[\n]$//
- s/^MEM getenv.c: free\(\)[\n]$//
- </stripfile>
- </verify>
- </testcase>
|