Add project files.
This commit is contained in:
56
3rd-party/curl-7.52.1/tests/data/test558
vendored
Normal file
56
3rd-party/curl-7.52.1/tests/data/test558
vendored
Normal file
@@ -0,0 +1,56 @@
|
||||
<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">
|
||||
FD hostip6.c: socket()
|
||||
FD connect.c: sclose()
|
||||
MEM lib558.c: malloc()
|
||||
MEM lib558.c: free()
|
||||
MEM escape.c: malloc()
|
||||
MEM strdup.c: realloc()
|
||||
MEM strdup.c: realloc()
|
||||
MEM escape.c: free()
|
||||
</file>
|
||||
<stripfile>
|
||||
s/ =.*//
|
||||
s/\(.*\)/()/
|
||||
s/:\d+/:/
|
||||
s:^(MEM |FD )(.*/)(.*):$1$3:
|
||||
</stripfile>
|
||||
</verify>
|
||||
|
||||
</testcase>
|
Reference in New Issue
Block a user