]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
runtests: fix linefeeds in log messages
authorViktor Szakats <commit@vsz.me>
Sun, 26 Apr 2026 23:25:37 +0000 (01:25 +0200)
committerViktor Szakats <commit@vsz.me>
Mon, 27 Apr 2026 09:53:47 +0000 (11:53 +0200)
Cherry-picked from #21449

Closes #21452

tests/ftpserver.pl
tests/runner.pm

index a3553c79835a58881a6df76d3d05d0aa053003cd..32080b21f6f6e91bdd3e4d1616e152e9f78474f6 100755 (executable)
@@ -1273,7 +1273,7 @@ sub FETCH_imap {
 sub APPEND_imap {
     my ($args) = @_;
 
-    logmsg "APPEND_imap got $args\r\n";
+    logmsg "APPEND_imap got $args\n";
 
     $args =~ /^([^ ]+) [^{]*\{(\d+)\}$/;
     my ($mailbox, $size) = ($1, $2);
index c9aab65348c5c128d9ade72868d12fc188985a45..8ebb855ca6350aec75ea3d5b4a8ebf03896b6f80 100644 (file)
@@ -501,7 +501,7 @@ sub torture {
             my ($sec, $min, $hour, $mday, $mon, $year, $wday, $yday, $isdst) =
                 localtime(time());
             my $now = sprintf("%02d:%02d:%02d ", $hour, $min, $sec);
-            logmsg "Fail function no: $limit at $now\r";
+            logmsg "Fail function no: $limit at $now\n";
         }
 
         # make the memory allocation function number $limit return failure