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