xref: /curl/tests/data/test1330 (revision e7a021e1)
1<testcase>
2<info>
3<keywords>
4unittest
5TrackMemory
6</keywords>
7</info>
8
9#
10# Server-side
11<reply>
12</reply>
13
14# Client-side
15<client>
16<server>
17none
18</server>
19<features>
20unittest
21TrackMemory
22</features>
23<name>
24unit tests memory tracking operational
25</name>
26<command>
27nothing
28</command>
29</client>
30
31#
32# Verify data after the test has been "shot"
33<verify>
34<file name="%LOGDIR/memdump">
35MEM unit%TESTNUMBER.c: malloc()
36MEM unit%TESTNUMBER.c: free()
37</file>
38<stripfile>
39s/ =.*//
40s/\(.*\)/()/
41s/:\d+/:/
42s:^(MEM )(.*/)(.*):$1$3:
43s/\r\n/\n/
44s/^MEM getenv.c: realloc\(\)[\n]$//
45s/^MEM getenv.c: free\(\)[\n]$//
46</stripfile>
47</verify>
48</testcase>
49