From 8cf875ed3b0b50df2e159be778766cf246fe6fbe Mon Sep 17 00:00:00 2001 From: Marcel Raad Date: Mon, 6 Jan 2020 11:11:50 +0100 Subject: 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 --- tests/data/test1330 | 1 + tests/data/test558 | 1 + 2 files changed, 2 insertions(+) diff --git a/tests/data/test1330 b/tests/data/test1330 index 1fb5a6687..a78dc30b8 100644 --- a/tests/data/test1330 +++ b/tests/data/test1330 @@ -45,6 +45,7 @@ s/ =.*// s/\(.*\)/()/ s/:\d+/:/ s:^(MEM )(.*/)(.*):$1$3: +s/\r\n/\n/ diff --git a/tests/data/test558 b/tests/data/test558 index 44361862e..49ef1c70b 100644 --- a/tests/data/test558 +++ b/tests/data/test558 @@ -51,6 +51,7 @@ s/ =.*// s/\(.*\)/()/ s/:\d+/:/ s:^(MEM |FD )(.*/)(.*):$1$3: +s/\r\n/\n/ -- cgit v1.2.1