aboutsummaryrefslogtreecommitdiff
path: root/tests/testcurl.pl
diff options
context:
space:
mode:
authorGunter Knauf <gk@gknw.de>2009-05-21 13:02:34 +0000
committerGunter Knauf <gk@gknw.de>2009-05-21 13:02:34 +0000
commit4a79462c3ed6e55f9203485431d56be5c45315b6 (patch)
treeb2171c3f6bdfaeb3d4fff38177719a5e503eed5c /tests/testcurl.pl
parentc328cc96082665c47aac26e241f9e9e1e84fdc69 (diff)
stripped \r from win32 curl --version output.
Diffstat (limited to 'tests/testcurl.pl')
-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);
}