Skip Menu |

This queue is for tickets about the MooseX-Storage CPAN distribution.

Report information
The Basics
Id: 27789
Status: resolved
Priority: 0/
Queue: MooseX-Storage

People
Owner: stevan.little [...] gmail.com
Requestors: jczeus [...] googlemail.com
Cc:
AdminCc:

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



Subject: t/030_with_checksum.t fails in v0.03
Debian lenny/sid 2.6.21.5 Perl 5.8.8 Digest::HMAC_SHA1 1.01 $ prove -v t/030_with_checksum.t t/030_with_checksum....1..26 ok 1 - use MooseX::Storage; ok 2 - The object isa Foo ok 3 - ... got the right frozen class ok 4 - ... unpacked okay ok 5 - The object isa Foo ok 6 - ... got the right frozen class ok 7 - The object isa Foo ok 8 - got frozen data ok 9 - not thawed ok 10 - has error ok 11 - bad checksum error ok 12 - The object isa Foo ok 13 - got frozen data ok 14 - got frozen data ok 15 - versions are different ok 16 - refreeze not ok 17 - thawed # Failed test 'thawed' # at t/030_with_checksum.t line 151. not ok 18 - no error # Failed test 'no error' # at t/030_with_checksum.t line 152. # Bad Checksum got=(14c75c6b44ee92805fa657ed61b1bf8d3e9c0c8d) expected=(31c52966097d2b6dcb0df4e777f28b6e5999575d) at lib/MooseX/Storage/Base/WithChecksum.pm line 36 # MooseX::Storage::Base::WithChecksum::unpack() called at lib/MooseX/Storage/Format/JSON.pm line 18 # MooseX::Storage::Format::JSON::thaw() called at t/030_with_checksum.t line 148 # eval {...} called at t/030_with_checksum.t line 148 not ok 19 - thawed # Failed test 'thawed' # at t/030_with_checksum.t line 157. not ok 20 - no error # Failed test 'no error' # at t/030_with_checksum.t line 158. # Bad Checksum got=(c22fe9ca51dcb7c9e8594f97439fce8b376c1f18) expected=(7c08a06349704864b291e4db48452087e7005154) at lib/MooseX/Storage/Base/WithChecksum.pm line 36 # MooseX::Storage::Base::WithChecksum::unpack() called at lib/MooseX/Storage/Format/JSON.pm line 18 # MooseX::Storage::Format::JSON::thaw() called at t/030_with_checksum.t line 154 # eval {...} called at t/030_with_checksum.t line 154 ok 21 - not thawed ok 22 - has error ok 23 - bad checksum error ok 24 - not thawed ok 25 - has error ok 26 - bad checksum error # Looks like you failed 4 tests of 26. dubious Test returned status 4 (wstat 1024, 0x400) DIED. FAILED tests 17-20 Failed 4/26 tests, 84.62% okay Failed Test Stat Wstat Total Fail List of Failed ------------------------------------------------------------------------------- t/030_with_checksum.t 4 1024 26 4 17-20 Failed 1/1 test scripts. 4/26 subtests failed. Files=1, Tests=26, 1 wallclock secs ( 1.32 cusr + 0.03 csys = 1.35 CPU) Failed 1/1 test programs. 4/26 subtests failed.
still fails in v0.04
fixed in v0.05
Fixed in the later releases./