mirror of
https://github.com/curl/curl.git
synced 2026-05-01 00:57:51 +03: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
2 changed files with 2 additions and 0 deletions
|
|
@ -45,6 +45,7 @@ s/ =.*//
|
|||
s/\(.*\)/()/
|
||||
s/:\d+/:/
|
||||
s:^(MEM )(.*/)(.*):$1$3:
|
||||
s/\r\n/\n/
|
||||
</stripfile>
|
||||
</verify>
|
||||
|
||||
|
|
|
|||
|
|
@ -51,6 +51,7 @@ s/ =.*//
|
|||
s/\(.*\)/()/
|
||||
s/:\d+/:/
|
||||
s:^(MEM |FD )(.*/)(.*):$1$3:
|
||||
s/\r\n/\n/
|
||||
</stripfile>
|
||||
</verify>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue