| lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame] | 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 | |||||
| 22 | <name> | ||||
| 23 | curl memory tracking operational | ||||
| 24 | </name> | ||||
| 25 | <command> | ||||
| 26 | --version | ||||
| 27 | </command> | ||||
| 28 | </client> | ||||
| 29 | |||||
| 30 | # | ||||
| 31 | # Verify data after the test has been "shot" | ||||
| 32 | <verify> | ||||
| 33 | <file name="log/memdump"> | ||||
| 34 | MEM tool_paramhlp.c | ||||
| 35 | MEM tool_cfgable.c | ||||
| 36 | MEM tool_cfgable.c | ||||
| 37 | MEM tool_cfgable.c | ||||
| 38 | </file> | ||||
| 39 | <stripfile> | ||||
| 40 | $_ = '' if ((($_ !~ /tool_paramhlp/) && ($_ !~ /tool_cfgable/)) || ($_ =~ /free\(\(nil\)\)/)) | ||||
| 41 | s/:\d+.*// | ||||
| 42 | s:^(MEM )(.*/)(.*):$1$3: | ||||
| 43 | </stripfile> | ||||
| 44 | </verify> | ||||
| 45 | |||||
| 46 | </testcase> | ||||