Skip Menu |

This queue is for tickets about the Search-Sitemap CPAN distribution.

Report information
The Basics
Id: 49259
Status: resolved
Priority: 0/
Queue: Search-Sitemap

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

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



Subject: lastmod date format has no hh:mm:ss
C:\Perl\bin\perl.exe "-Iinc" "-MModule::Install::ExtraTests" "-e" "Module::Install::ExtraTests::__harness('Test::Harness', 0, 'xt/author', '', '', 0, 'blib\lib', 'blib\arch')" t/*.t t/Search-Sitemap-Index.t .. ok t/Search-Sitemap-Ping.t ... ok t/Search-Sitemap-Types.t .. ok t/Search-Sitemap-URL.t .... 1/5 Attribute (lastmod) does not pass the type constraint because: Validation failed for 'Search::Sitemap::Types::SitemapLastMod' failed with value 2005-11-27T+00:00 at t/Search-Sitemap-URL.t line 28 main::time_test('epoch time 1', 1133128421, '2005-11-27T21:53:41+00:00') called at t/Search-Sitemap-URL.t line 7 # Looks like you planned 5 tests but ran 1. # Looks like your test exited with 255 just after 1. t/Search-Sitemap-URL.t .... Dubious, test returned 255 (wstat 65280, 0xff00) Failed 4/5 subtests t/Search-Sitemap.t ........ ok Test Summary Report ------------------- t/Search-Sitemap-URL.t (Wstat: 65280 Tests: 1 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 5 tests but ran 1. Files=5, Tests=66, 6 wallclock secs ( 0.12 usr + 0.02 sys = 0.14 CPU) Result: FAIL Failed 1/5 test programs. 0/66 subtests failed.
Sadly I have even run into this in the past in a different module and so I should have known better, but what this indicates is that you are on a platform where strftime does not support '%T'. I've replaced %T with %H:%M:%S and am pushing version 2.09 to CPAN now... On Sun Aug 30 15:23:16 2009, MTHURN wrote: Show quoted text
> C:\Perl\bin\perl.exe "-Iinc" "-MModule::Install::ExtraTests" > "-e" "Module::Install::ExtraTests::__harness('Test::Harness', 0, > 'xt/author', '', '', 0, 'blib\lib', 'blib\arch')" t/*.t > t/Search-Sitemap-Index.t .. ok > t/Search-Sitemap-Ping.t ... ok > t/Search-Sitemap-Types.t .. ok > t/Search-Sitemap-URL.t .... 1/5 Attribute (lastmod) does not pass the > type constraint because: Validation failed for > 'Search::Sitemap::Types::SitemapLastMod' failed with value > 2005-11-27T+00:00 at t/Search-Sitemap-URL.t > line 28 > main::time_test('epoch time 1', 1133128421, > '2005-11-27T21:53:41+00:00') called at t/Search-Sitemap-URL.t line 7 > # Looks like you planned 5 tests but ran 1. > # Looks like your test exited with 255 just after 1. > t/Search-Sitemap-URL.t .... Dubious, test returned 255 (wstat 65280,
0xff00) Show quoted text
> Failed 4/5 subtests > t/Search-Sitemap.t ........ ok > > Test Summary Report > ------------------- > t/Search-Sitemap-URL.t (Wstat: 65280 Tests: 1 Failed: 0) > Non-zero exit status: 255 > Parse errors: Bad plan. You planned 5 tests but ran 1. > Files=5, Tests=66, 6 wallclock secs ( 0.12 usr + 0.02 sys = 0.14 CPU) > Result: FAIL > Failed 1/5 test programs. 0/66 subtests failed.
-- www.jasonkohles.com