1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-23 08:38:49 -05:00
curl/tests/data/test558

54 lines
675 B
Plaintext

<testcase>
<info>
<keywords>
TrackMemory
</keywords>
</info>
#
# Server-side
<reply>
</reply>
# Client-side
<client>
<server>
none
</server>
<features>
TrackMemory
</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" mode="text">
MEM lib558.c: malloc()
MEM lib558.c: free()
MEM escape.c: malloc()
MEM escape.c: realloc()
MEM escape.c: realloc()
MEM escape.c: free()
</file>
<stripfile>
s/ =.*//
s/\(.*\)/()/
s/:\d+/:/
s:^(MEM )(.*/)(.*):$1$3:
</stripfile>
</verify>
</testcase>