curl-curl/tests/data/test96
Daniel Stenberg d516628d14
curl: unify pointer names to global config
Use 'config' for pointing to a OperationConfig

Use 'global' for pointing to GlobalConfig

Bonus: add config_alloc(), an easier way to allocate + init a new
OperationConfig struct.

Closes #17888
2025-07-10 18:23:17 +02:00

48 lines
637 B
Plaintext

<testcase>
<info>
<keywords>
TrackMemory
</keywords>
</info>
#
# Server-side
<reply>
</reply>
# Client-side
<client>
<server>
none
</server>
<features>
TrackMemory
</features>
<name>
curl memory tracking operational
</name>
<command>
--version
</command>
</client>
#
# Verify data after the test has been "shot"
<verify>
<file name="%LOGDIR/memdump">
MEM tool_cfgable.c
MEM tool_paramhlp.c
MEM tool_cfgable.c
MEM tool_cfgable.c
MEM tool_cfgable.c
</file>
<stripfile>
$_ = '' if ((($_ !~ /tool_paramhlp/) && ($_ !~ /tool_cfgable/)) || ($_ =~ /free\(\(nil\)\)/))
s/:\d+.*//
s:^(MEM )(.*/)(.*):$1$3:
</stripfile>
</verify>
</testcase>