mirror of
https://github.com/curl/curl.git
synced 2024-12-27 06:59:43 +08:00
efc112079c
Since the output isn't actually being written in text-mode and it was rather used as a workaround, disable text-mode for these tests.
52 lines
598 B
Plaintext
52 lines
598 B
Plaintext
<testcase>
|
|
<info>
|
|
<keywords>
|
|
unittest
|
|
TrackMemory
|
|
</keywords>
|
|
</info>
|
|
|
|
#
|
|
# Server-side
|
|
<reply>
|
|
</reply>
|
|
|
|
# Client-side
|
|
<client>
|
|
<server>
|
|
none
|
|
</server>
|
|
<features>
|
|
unittest
|
|
TrackMemory
|
|
</features>
|
|
# tool is what to use instead of 'curl'
|
|
<tool>
|
|
unit1330
|
|
</tool>
|
|
|
|
<name>
|
|
unit tests memory tracking operational
|
|
</name>
|
|
<command>
|
|
nothing
|
|
</command>
|
|
</client>
|
|
|
|
#
|
|
# Verify data after the test has been "shot"
|
|
<verify>
|
|
<file name="log/memdump">
|
|
MEM unit1330.c: malloc()
|
|
MEM unit1330.c: free()
|
|
</file>
|
|
<stripfile>
|
|
s/ =.*//
|
|
s/\(.*\)/()/
|
|
s/:\d+/:/
|
|
s:^(MEM )(.*/)(.*):$1$3:
|
|
</stripfile>
|
|
</verify>
|
|
|
|
</testcase>
|