aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtests/testcurl.pl5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/testcurl.pl b/tests/testcurl.pl
index 2171622f1..cf362fb87 100755
--- a/tests/testcurl.pl
+++ b/tests/testcurl.pl
@@ -669,8 +669,9 @@ if (!$crosscompile || (($extvercmd ne '') && (-x $extvercmd))) {
my $cmd = ($extvercmd ne '' ? $extvercmd.' ' : '')."./src/curl${binext} --version|";
open(F, $cmd);
while(<F>) {
- print;
- print LOG;
+ s/\r//;
+ print;
+ print LOG;
}
close(F);
}