aboutsummaryrefslogtreecommitdiff
path: root/tests/libtest
diff options
context:
space:
mode:
authorGuenter Knauf <lists@gknw.net>2012-07-20 15:39:28 +0200
committerGuenter Knauf <lists@gknw.net>2012-07-20 15:39:28 +0200
commit5d80017fd6c498764cbbfe86496d62db675a37e8 (patch)
treed04be34c779b6890b11d6a6a5870036ec3827954 /tests/libtest
parente1711b0e9a762b1a7bf500896c9a972562cc30aa (diff)
Fixed CR issue with Win32 version on MSYS.
Diffstat (limited to 'tests/libtest')
-rwxr-xr-xtests/libtest/test1013.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/libtest/test1013.pl b/tests/libtest/test1013.pl
index 9ea7de02d..2f67717c5 100755
--- a/tests/libtest/test1013.pl
+++ b/tests/libtest/test1013.pl
@@ -14,7 +14,7 @@ my $curl_protocols="";
open(CURL, "$ARGV[1]") || die "Can't get curl $what list\n";
while( <CURL> )
{
- $curl_protocols = lc($_) if ( /$what:/i );
+ $curl_protocols = lc($_ =~ s/\r//) if ( /$what:/i );
}
close CURL;