mirror of
https://github.com/curl/curl.git
synced 2026-04-12 00:11:42 +08:00
To formalize they are now XML-compliant (with some asterisks.) Also to help syntax highlighters work on them to make their content more readable. Also: - Delete empty comment decorations. - GHA/checksrc: simplify XML check. - runtests: fail to load test data with XML prolog missing. Follow-up tobfe6eb1c06#19927 Follow-up to87ba80a6dfCloses #19946
53 lines
829 B
XML
53 lines
829 B
XML
<?xml version="1.0" encoding="US-ASCII"?>
|
|
<testcase>
|
|
<info>
|
|
<keywords>
|
|
TrackMemory
|
|
</keywords>
|
|
</info>
|
|
|
|
# Server-side
|
|
<reply>
|
|
</reply>
|
|
|
|
# Client-side
|
|
<client>
|
|
<features>
|
|
TrackMemory
|
|
IPv6
|
|
</features>
|
|
# tool is what to use instead of 'curl'
|
|
<tool>
|
|
lib%TESTNUMBER
|
|
</tool>
|
|
|
|
<name>
|
|
libtest memory tracking operational
|
|
</name>
|
|
</client>
|
|
|
|
# Verify data after the test has been "shot"
|
|
<verify>
|
|
<file name="%LOGDIR/memdump">
|
|
MEM easy.c: malloc()
|
|
MEM lib%TESTNUMBER.c: malloc()
|
|
MEM lib%TESTNUMBER.c: free()
|
|
MEM dynbuf.c: realloc()
|
|
MEM dynbuf.c: realloc()
|
|
MEM escape.c: free()
|
|
MEM easy.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/
|
|
s/^MEM getenv.c: realloc\(\)[\n]$//
|
|
s/^MEM getenv.c: free\(\)[\n]$//
|
|
</stripfile>
|
|
</verify>
|
|
|
|
</testcase>
|