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:
Родитель
9275c2be8c
Коммит
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>
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче