mirror of
https://github.com/moparisthebest/curl
synced 2024-12-24 17:18:48 -05:00
TrackMemory tests: always remove CR before LF
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
This commit is contained in:
parent
9275c2be8c
commit
8cf875ed3b
@ -45,6 +45,7 @@ s/ =.*//
|
|||||||
s/\(.*\)/()/
|
s/\(.*\)/()/
|
||||||
s/:\d+/:/
|
s/:\d+/:/
|
||||||
s:^(MEM )(.*/)(.*):$1$3:
|
s:^(MEM )(.*/)(.*):$1$3:
|
||||||
|
s/\r\n/\n/
|
||||||
</stripfile>
|
</stripfile>
|
||||||
</verify>
|
</verify>
|
||||||
|
|
||||||
|
@ -51,6 +51,7 @@ s/ =.*//
|
|||||||
s/\(.*\)/()/
|
s/\(.*\)/()/
|
||||||
s/:\d+/:/
|
s/:\d+/:/
|
||||||
s:^(MEM |FD )(.*/)(.*):$1$3:
|
s:^(MEM |FD )(.*/)(.*):$1$3:
|
||||||
|
s/\r\n/\n/
|
||||||
</stripfile>
|
</stripfile>
|
||||||
</verify>
|
</verify>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user