Skip Menu |

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

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

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 0.04



Subject: Failed test '--verbose -s $url/foo/..'
On CentOS7 and Debian/wheezy the following test failure happens: ... # Curl version 7.26.0 # Failed test '--verbose -s $url/foo/..' # at t/curl-identity.t line 174. # got: '//' # expected: '//foo/..' # --verbose -s $url/foo/.. # Failed test 'planned to run 34 but done_testing() expects 32' # at t/curl-identity.t line 208. # Looks like you planned 34 tests but ran 33. # Looks like you failed 2 tests of 33 run. t/curl-identity.t .. Dubious, test returned 2 (wstat 512, 0x200) Failed 3/34 subtests (1 TODO test unexpectedly succeeded) ... This was the log from a Debian/wheezy system. CentOS7 has Curl version 7.29.0 installed.
Subject: Re: [rt.cpan.org #127642] Failed test '--verbose -s $url/foo/..'
Date: Wed, 14 Nov 2018 23:06:09 +0100
To: bug-HTTP-Request-FromCurl [...] rt.cpan.org
From: Max Maischein <corion [...] corion.net>
Hello Slaven! Show quoted text
> On CentOS7 and Debian/wheezy the following test failure happens: > > ... > # Curl version 7.26.0 > > # Failed test '--verbose -s $url/foo/..' > # at t/curl-identity.t line 174. > # got: '//' > # expected: '//foo/..' > # --verbose -s $url/foo/.. > > # Failed test 'planned to run 34 but done_testing() expects 32' > # at t/curl-identity.t line 208. > # Looks like you planned 34 tests but ran 33. > # Looks like you failed 2 tests of 33 run. > t/curl-identity.t .. > Dubious, test returned 2 (wstat 512, 0x200) > Failed 3/34 subtests > (1 TODO test unexpectedly succeeded) > ... > > This was the log from a Debian/wheezy system. CentOS7 has Curl version 7.29.0 installed. >
Thanks for the report. I guess that versions (much) earlier than 7.61.0 don't have the path cleanup. I've marked the failing test as TODO for curl versions prior 7.61.0. -max
On 2018-11-14 17:06:29, corion@corion.net wrote: Show quoted text
> Hello Slaven!
> > On CentOS7 and Debian/wheezy the following test failure happens: > > > > ... > > # Curl version 7.26.0 > > > > # Failed test '--verbose -s $url/foo/..' > > # at t/curl-identity.t line 174. > > # got: '//' > > # expected: '//foo/..' > > # --verbose -s $url/foo/.. > > > > # Failed test 'planned to run 34 but done_testing() expects 32' > > # at t/curl-identity.t line 208. > > # Looks like you planned 34 tests but ran 33. > > # Looks like you failed 2 tests of 33 run. > > t/curl-identity.t .. > > Dubious, test returned 2 (wstat 512, 0x200) > > Failed 3/34 subtests > > (1 TODO test unexpectedly succeeded) > > ... > > > > This was the log from a Debian/wheezy system. CentOS7 has Curl > > version 7.29.0 installed. > >
> Thanks for the report. I guess that versions (much) earlier than > 7.61.0 > don't have the path cleanup. I've marked the failing test as TODO for > curl versions prior 7.61.0.
With 0.02 the plan seems to be off in these situations: ... # Curl version 7.29.0 # Failed test 'planned to run 38 but done_testing() expects 36' # at t/curl-identity.t line 223. # Looks like you planned 38 tests but ran 37. # Looks like you failed 1 test of 37 run. t/curl-identity.t .. Dubious, test returned 1 (wstat 256, 0x100) Failed 2/38 subtests (1 TODO test unexpectedly succeeded) ...
Fixed, and also restructured the test so skipping tests actually works Thanks for reporting!