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