From: Viktor Szakats Date: Sun, 26 Apr 2026 23:25:37 +0000 (+0200) Subject: runtests: fix linefeeds in log messages X-Git-Tag: curl-8_20_0~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4d89043fbcf985607dea25952c5f0ae5014914ac;p=thirdparty%2Fcurl.git runtests: fix linefeeds in log messages Cherry-picked from #21449 Closes #21452 --- 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