Skip Menu |
 
rt.cpan.org will be shut down on March 1st, 2021.

This queue is for tickets about the HTTP-Request-FromCurl CPAN distribution.

Report information
The Basics
Id: 133454
Status: resolved
Priority: 0/
Queue: HTTP-Request-FromCurl

People
Owner: corion [...] cpan.org
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.18
Fixed in: 0.25



Subject: t/curl-identity-options.t fails
Download (untitled) / with headers
text/plain 1.5k
On some systems (snipped boring (hopefully) output): ... # Testing with curl version '7.68.0' # $VAR1 = [ # "--verbose", # "-g", # "-s", # "\$url", # "--max-time", # 5 # ]; # $VAR1 = [ # "--verbose", # "--user-agent", # "curl/7.68.0", # "http://[::1]:44507/" # ]; # $VAR1 = { # "path" => undef, # "headers" => { # "Accept" => "*/*", # "User-Agent" => "curl/7.68.0" # }, # "protocol" => undef, # "response_body" => "<html ...</html>\n", # "method" => undef, # "error" => "Couldn't find a method in curl output '> Host: [::1]:44507'. STDERR is \n % Total % Received % Xferd Average Speed Time Time Time Current\n Dload Upload Total Spent Left Speed\n\r 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* Connected to ::1 (::1) port 44507 (#0)\n\r 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0> GET / HTTP/1.1\r\n> Host: [::1]:44507\r\n> User-Agent: curl/7.68.0\r\n> Accept: */*\r\n> \r\n" # }; # Failed test '--verbose -g -s $url --max-time 5 (reconstructed): Curl error (7.68.0): ''' # at t/TestCurlIdentity.pm line 340. # Looks like you failed 1 test of 56. t/curl-identity-options.t .. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/56 subtests ...
Download (untitled) / with headers
text/plain 1.6k
On 2020-10-01 12:07:43, SREZIC wrote: Show quoted text
> On some systems (snipped boring (hopefully) output): > > ... > # Testing with curl version '7.68.0' > # $VAR1 = [ > # "--verbose", > # "-g", > # "-s", > # "\$url", > # "--max-time", > # 5 > # ]; > # $VAR1 = [ > # "--verbose", > # "--user-agent", > # "curl/7.68.0", > # "http://[::1]:44507/" > # ]; > # $VAR1 = { > # "path" => undef, > # "headers" => { > # "Accept" => "*/*", > # "User-Agent" => "curl/7.68.0" > # }, > # "protocol" => undef, > # "response_body" => "<html ...</html>\n", > # "method" => undef, > # "error" => "Couldn't find a method in curl output '> Host: > [::1]:44507'. STDERR is \n % Total % Received % Xferd Average > Speed Time Time Time Current\n > Dload Upload Total Spent Left Speed\n\r 0 0 0 0 > 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* Connected to > ::1 (::1) port 44507 (#0)\n\r 0 0 0 0 0 0 0 > 0 --:--:-- --:--:-- --:--:-- 0> GET / HTTP/1.1\r\n> Host: > [::1]:44507\r\n> User-Agent: curl/7.68.0\r\n> Accept: */*\r\n> \r\n" > # }; > > # Failed test '--verbose -g -s $url --max-time 5 (reconstructed): > Curl error (7.68.0): ''' > # at t/TestCurlIdentity.pm line 340. > # Looks like you failed 1 test of 56. > t/curl-identity-options.t .. > Dubious, test returned 1 (wstat 256, 0x100) > Failed 1/56 subtests > ...
On some systems it is t/curl-identity.t which fails in a similar way.
Download (untitled) / with headers
text/plain 131b
This test now has the proper command line options for Curl to not output progress meters/skipping Thanks again for reporting that!


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.