Subject: | Fedora 31: t/curl-multi.t fails |
On Fedora 31 (with curl/7.66.0) the test suite fails:
...
# Failed test '--verbose -s $url $url?foo=bar'
# at t/TestCurlIdentity.pm line 305.
# Structures begin differing at:
# $got->{Cookie} = Does not exist
# $expected->{Cookie} = 'log-server-httponly=supersecret; log-server=shazam2'
# $VAR1 = [
# {
# "User-Agent" => "curl/7.66.0",
# "Accept" => "*/*",
# "Host" => "localhost:55397"
# },
# {
# "User-Agent" => "curl/7.66.0",
# "Accept" => "*/*",
# "Host" => "localhost:55397",
# "Cookie" => "log-server-httponly=supersecret; log-server=shazam2"
# }
# ];
# Failed test 'We create (almost) the same headers with LWP'
# at t/TestCurlIdentity.pm line 174.
# Structures begin differing at:
# $got->[5] = Does not exist
# $expected->[5] = 'Cookie: log-server-httponly=supersecret; log-server=shazam2'
# Request:
# GET /?foo=bar HTTP/1.1
# Accept: */*
# Host: localhost:55397
# User-Agent: curl/7.66.0
#
#
# use strict;
# use LWP::UserAgent;
#
# my $ua = LWP::UserAgent->new('send_te' => '0');
# my $r = HTTP::Request->new(
# 'GET' => 'http://localhost:55397/?foo=bar',
# [
# 'Accept' => '*/*',
# 'Host' => 'localhost:55397',
# 'User-Agent' => 'curl/7.66.0'
# ],
#
# );
# my $res = $ua->request( $r, );
# Failed test 'We create (almost) the same headers with HTTP::Tiny'
# at t/TestCurlIdentity.pm line 174.
# Structures begin differing at:
# $got->[4] = Does not exist
# $expected->[4] = 'Cookie: log-server-httponly=supersecret; log-server=shazam2'
# Request:
# GET /?foo=bar HTTP/1.1
# Accept: */*
# User-Agent: curl/7.66.0
#
#
# use strict;
# use HTTP::Tiny;
#
# my $ua = HTTP::Tiny->new('verify_SSL' => '1');
# my $res = $ua->request(
# 'GET' => 'http://localhost:55397/?foo=bar',
# {
# headers => {
# 'User-Agent' => 'curl/7.66.0',
# 'Accept' => '*/*'
# },
#
# },
# );
... (etc) ...
# Looks like you failed 12 tests of 48.
t/curl-multi.t .............
Dubious, test returned 12 (wstat 3072, 0xc00)
Failed 12/48 subtests