Ticket #17 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

Test failure

Reported by: dom Owned by: nick
Priority: major Milestone:
Component: wiki-toolkit-plugin-ping Version: svn
Keywords: Cc:

Description

I get:

g$ make test
cp lib/Wiki/Toolkit/Plugin/Ping.pm blib/lib/Wiki/Toolkit/Plugin/Ping.pm
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/01_init....ok                                                              
t/02_call....ok 1/4**GET /url=http://wiki.org/TestNode HTTP/1.1**            
**TE: deflate,gzip;q=0.3**
**Connection: TE, close**
**Host: localhost:112233**
**User-Agent: Wiki::Toolkit::Plugin::Ping 1**
****

#   Failed test 'Correct http/1.1 host'
#   in t/02_call.t at line 69.
#                   'Connection: TE, close'
#     doesn't match '(?-xism:^Host: localhost:112233)'
# Looks like you failed 1 test of 4.
t/02_call....dubious                                                         
        Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 3
        Failed 1/4 tests, 75.00% okay
Failed Test Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
t/02_call.t    1   256     4    1  25.00%  3
Failed 1/2 test scripts, 50.00% okay. 1/8 subtests failed, 87.50% okay.
make: *** [test_dynamic] Error 1

Can this be fixed so that I can upload to CPAN?

Change History

Changed 4 years ago by nick

  • status changed from new to closed
  • resolution set to fixed

Added a /m to a regexp in the test, which hopefully fixes it (worked fine before on my machine, so it's hard to tell....)

Changed 4 years ago by dom

  • status changed from closed to reopened
  • resolution fixed deleted

Bugger, not on my (Debian etch) machine. There is something fishy going on. What OS/distro is your machine that it works on?

Changed 4 years ago by dom

  • status changed from reopened to closed
  • resolution set to fixed

Nevermind, fixed now.

Note: See TracTickets for help on using tickets.