diff options
author | Gunter Knauf <gk@gknw.de> | 2009-05-21 13:02:34 +0000 |
---|---|---|
committer | Gunter Knauf <gk@gknw.de> | 2009-05-21 13:02:34 +0000 |
commit | 4a79462c3ed6e55f9203485431d56be5c45315b6 (patch) | |
tree | b2171c3f6bdfaeb3d4fff38177719a5e503eed5c /tests | |
parent | c328cc96082665c47aac26e241f9e9e1e84fdc69 (diff) |
stripped \r from win32 curl --version output.
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/testcurl.pl | 5 |
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); } |