1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-23 16:48:49 -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:
Marcel Raad 2020-01-06 11:11:50 +01:00
parent 9275c2be8c
commit 8cf875ed3b
No known key found for this signature in database
GPG Key ID: FE4D8BC5EE1701DD
2 changed files with 2 additions and 0 deletions

View File

@ -45,6 +45,7 @@ s/ =.*//
s/\(.*\)/()/
s/:\d+/:/
s:^(MEM )(.*/)(.*):$1$3:
s/\r\n/\n/
</stripfile>
</verify>

View File

@ -51,6 +51,7 @@ s/ =.*//
s/\(.*\)/()/
s/:\d+/:/
s:^(MEM |FD )(.*/)(.*):$1$3:
s/\r\n/\n/
</stripfile>
</verify>