From 4d89043fbcf985607dea25952c5f0ae5014914ac Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Mon, 27 Apr 2026 01:25:37 +0200 Subject: [PATCH] runtests: fix linefeeds in log messages Cherry-picked from #21449 Closes #21452 --- tests/ftpserver.pl | 2 +- tests/runner.pm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/ftpserver.pl b/tests/ftpserver.pl index a3553c7983..32080b21f6 100755 --- a/tests/ftpserver.pl +++ b/tests/ftpserver.pl @@ -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); diff --git a/tests/runner.pm b/tests/runner.pm index c9aab65348..8ebb855ca6 100644 --- a/tests/runner.pm +++ b/tests/runner.pm @@ -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