mirror of
https://github.com/moparisthebest/curl
synced 2024-11-11 03:55:03 -05:00
8cf875ed3b
It was removed for output containing ' =' via `s/ =.*//`. With classic MinGW, this made lines with `free()` end with CRLF, but lines with e.g. `malloc()` end with only LF. The tests expect LF only. Closes https://github.com/curl/curl/pull/4788
53 lines
609 B
Plaintext
53 lines
609 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:
|
|
s/\r\n/\n/
|
|
</stripfile>
|
|
</verify>
|
|
|
|
</testcase>
|