gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnurl] 25/29: TrackMemory tests: always remove CR before LF


From: gnunet
Subject: [gnurl] 25/29: TrackMemory tests: always remove CR before LF
Date: Fri, 10 Jan 2020 23:06:03 +0100

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to branch master
in repository gnurl.

commit 8cf875ed3b0b50df2e159be778766cf246fe6fbe
Author: Marcel Raad <address@hidden>
AuthorDate: Mon Jan 6 11:11:50 2020 +0100

    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/
 </stripfile>
 </verify>
 
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/
 </stripfile>
 </verify>
 

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]