]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
runtests: for mode="text" on <stdout>, fix newlines on both parts
authorDaniel Stenberg <daniel@haxx.se>
Mon, 1 Jan 2024 21:48:09 +0000 (22:48 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 2 Jan 2024 07:44:01 +0000 (08:44 +0100)
Closes #12612

tests/runtests.pl

index 9dbe4e2d68b5c17757dd66a78a2107042114cd51..17b0d3986c02d2005fc7588d7809d47db54ef254 100755 (executable)
@@ -1235,6 +1235,8 @@ sub singletest_check {
             # text mode when running on windows: fix line endings
             s/\r\n/\n/g for @validstdout;
             s/\n/\r\n/g for @validstdout;
+            s/\r\n/\n/g for @actual;
+            s/\n/\r\n/g for @actual;
         }
 
         if($hash{'nonewline'}) {