mirror of
https://github.com/curl/curl.git
synced 2024-11-21 01:16:58 +08: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/:\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…
Reference in New Issue
Block a user