1 <testcase> 2 <info> 3 <keywords> 4 TrackMemory 5 </keywords> 6 </info> 7 8 # 9 # Server-side 10 <reply> 11 </reply> 12 13 # Client-side 14 <client> 15 <server> 16 none 17 </server> 18 <features> 19 TrackMemory 20 </features> 21 # tool is what to use instead of 'curl' 22 <tool> 23 lib558 24 </tool> 25 26 <name> 27 libtest memory tracking operational 28 </name> 29 <command> 30 nothing 31 </command> 32 </client> 33 34 # 35 # Verify data after the test has been "shot" 36 <verify> 37 <file name="log/memdump"> 38 MEM lib558.c: malloc() 39 MEM lib558.c: free() 40 MEM escape.c: malloc() 41 MEM escape.c: realloc() 42 MEM escape.c: realloc() 43 MEM escape.c: free() 44 </file> 45 <stripfile> 46 s/ =.*// 47 s/\(.*\)/()/ 48 s/:\d+/:/ 49 s:^(MEM )(.*/)(.*):$1$3: 50 </stripfile> 51 </verify> 52 53 </testcase> 54