Subject: | Negative error in DBIC TS |
Hi I get the following errors when trying to install DBIC TS in 64 bit
Linux:
prove -bvm t/07date.t
t/07date....
1..3
ok 1 - created timestamp
ok 2 - update and create timestamp
The 'nanosecond' parameter ("-1.84467440737095516e+28") to
DateTime::new did not pass the 'cannot be negative' callback
at /opt/perl588/site/lib/x86_64-linux-thread-multi-ld/DateTime.pm line
169
DateTime::new('undef', 'hour', 0, 'minute', 1, 'month',
1, 'second', 0, ...) called at /opt/perl588/site/lib/x86_64-linux-
thread-multi-ld/DateTime.pm line 466
DateTime::from_epoch('undef', 'epoch', 60.3172959999999989)
called at t/07date.t line 11
main::__ANON__('DateTime') called
at /home/a_trnact/.cpan/build/DBIx-Class-TimeStamp-0.06-
U1ywHV/blib/lib/DBIx/Class/TimeStamp.pm line 79
DBIx::Class::TimeStamp::get_timestamp
('DBIC::TestSchema::TestDate=HASH(0x1a0bad0)') called
at /opt/perl588/site/lib/DBIx/Class/DynamicDefault.pm line 113
DBIx::Class::DynamicDefault::update
('DBIC::TestSchema::TestDate=HASH(0x1a0bad0)') called at t/07date.t
line 30
# Looks like you planned 3 tests but only ran 2.
# Looks like your test died just after 2.
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 1/3 subtests
Test Summary Report
-------------------
t/07date (Wstat: 65280 Tests: 2 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan. You planned 3 tests but ran 2.
Files=1, Tests=2, 1 wallclock secs ( 0.03 usr 0.01 sys + 0.31 cusr
0.04 csys = 0.39 CPU)
Result: FAIL