Skip Menu |

This queue is for tickets about the HTTP-Server-Simple CPAN distribution.

Report information
The Basics
Id: 25544
Status: resolved
Priority: 0/
Queue: HTTP-Server-Simple

People
Owner: Nobody in particular
Requestors: mpapet [...] yahoo.com
Cc:
AdminCc:

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



Subject: Fails Test on Win32 GNU Perl Distro
Build fails on win32 using GNU-based strawberry-perl. C:\strawberry-perl\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harnes s(0, 'inc', 'blib\lib', 'blib\arch')" t/*.t t/00smoke..........ok t/01live...........ok 3/10# started server on -7324 t/01live...........ok t/02pod............ok t/03podcoverage....ok t/04cgi............NOK 20/21 # Failed test 'Didn't decode already' # at t/04cgi.t line 63. # '' # doesn't match '/foo%3Fbar/' t/04cgi............ok 21/21# Looks like you failed 1 test of 21. t/04cgi............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 20 Failed 1/21 tests, 95.24% okay Failed Test Stat Wstat Total Fail List of Failed ------------------------------------------------------------------------------- t/04cgi.t 1 256 21 1 20 Failed 1/5 test scripts. 1/45 subtests failed. Files=5, Tests=45, 7 wallclock secs ( 0.00 cusr + 0.00 csys = 0.00 CPU) Failed 1/5 test programs. 1/45 subtests failed. dmake.EXE: Error code 129, while making 'test_dynamic' C:\strawberry-perl\dmake\bin\dmake.EXE test -- NOT OK Running make install make test had returned bad status, won't install without force Failed during this command: JESSE/HTTP-Server-Simple-0.27.tar.gz : make_test NO
From: NPW [...] cpan.org
I also get this problem, but have found that it seems to be a mistake on line 64 of t/04cgi.t: fetch("GET /cgitest/REQUEST_URI?foo%3Fbar",""), Should be: fetch("GET /cgitest/REQUEST_URI?foo%3Fbar HTTP/1.1",""), The test then completes successfully on my installation. (Perl::Dist::Strawberry - Strawberry Perl for win32 v0.1.2, corresponding to Strawberry Perl 5.8.8 Alpha 2)
Subject: Re: [rt.cpan.org #25544] Fails Test on Win32 GNU Perl Distro
Date: Wed, 29 Aug 2007 12:53:03 -0400
To: bug-HTTP-Server-Simple [...] rt.cpan.org
From: Jesse Vincent <jesse [...] fsck.com>
Hm. HTTP::Server::Simple _should_ support HTTP 0.9 (which is without that header.) And 1.1 without a second Host: ... isn't actually rfc compliant. Can you try it as HTTP/1.0? -j On Aug 29, 2007, at 8:59 AM, Nick Woolley via RT wrote: Show quoted text
> > Queue: HTTP-Server-Simple > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=25544 > > > I also get this problem, but have found that it seems to be a > mistake on > line 64 of t/04cgi.t: > > fetch("GET /cgitest/REQUEST_URI?foo%3Fbar",""), > > Should be: > > fetch("GET /cgitest/REQUEST_URI?foo%3Fbar HTTP/1.1",""), > > The test then completes successfully on my installation. > > (Perl::Dist::Strawberry - Strawberry Perl for win32 > v0.1.2, corresponding to Strawberry Perl 5.8.8 Alpha 2) >
Download PGP.sig
application/pgp-signature 186b

Message body not shown because it is not plain text.