Subject: | t/01-sanity.t fails |
andreas@ds4:~/.cpanplus/5.8.4/build/DateTime-Format-RSS-0.01$ make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/01-sanity..........NOK 1
# Failed test 'use Datetime::Format::RSS;'
# at t/01-sanity.t line 5.
# Tried to use 'Datetime::Format::RSS'.
# Error: Can't locate Datetime/Format/RSS.pm in @INC (@INC
contains:
/home/andreas/.cpanplus/5.8.4/build/DateTime-Format-RSS-0.01/blib/lib
/home/andreas/.cpanplus/5.8.4/build/DateTime-Format-RSS-0.01/blib/arch
/etc/perl /usr/local/lib/perl/5.8.4 /usr/local/share/perl/5.8.4
/usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8
/usr/local/lib/site_perl . /etc/perl /usr/local/lib/perl/5.8.4
/usr/local/share/perl/5.8.4 /usr/lib/perl5 /usr/share/perl5
/usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at
(eval 3) line 2.
# BEGIN failed--compilation aborted at t/01-sanity.t line 5.
# Looks like you failed 1 test of 1.
t/01-sanity..........dubious
Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 1
Failed 1/1 tests, 0.00% okay
t/02-dateparse.......ok
t/99-pod-coverage....skipped
all skipped: Test::Pod::Coverage required for testing POD
t/99-pod.............skipped
all skipped: Test::Pod required for testing POD
Failed Test Stat Wstat Total Fail List of Failed
-------------------------------------------------------------------------------
t/01-sanity.t 1 256 1 1 1
2 tests skipped.
Failed 1/4 test scripts. 1/125 subtests failed.
Files=4, Tests=125, 0 wallclock secs ( 0.38 cusr + 0.00 csys = 0.38 CPU)
Failed 1/4 test programs. 1/125 subtests failed.
make: *** [test_dynamic] Error 255
andreas@ds4:~/.cpanplus/5.8.4/build/DateTime-Format-RSS-0.01$
The problem is the capitalization of Datetime in the use statement. it
should be DateTime.
Subject: | datetime-format-rss-patch-01.patch |
--- t/01-sanity.t 2007-03-26 10:28:36.000000000 +0000
+++ t/01-sanity.t.orig 2007-03-26 10:28:24.000000000 +0000
@@ -2,4 +2,4 @@
use strict;
use Test::More tests => 1;
-BEGIN { use_ok("DateTime::Format::RSS") }
+BEGIN { use_ok("Datetime::Format::RSS") }