Subject: | Test not working anymore in 0.12 |
Date: | Sat, 3 Nov 2007 15:15:30 +0100 |
To: | bug-Digest-CRC [...] rt.cpan.org |
From: | gregor herrmann <gregor+debian [...] comodo.priv.at> |
t/crc.t errors out at line 48 in the new version 0.12. The reason
seems to be that README is changed between 0.11 and 0.12 but the CRC
value in the test file isn't.
Find a patch below.
~~~~~~~~~~~~~~~~~~
--- t/crc.t~ 2007-11-03 15:02:58.000000000 +0100
+++ t/crc.t 2007-11-03 15:04:03.000000000 +0100
@@ -45,7 +45,7 @@
$ctx->addfile(F);
close(F);
my $y = $ctx->digest;
-ok($y == 1468974098, 'OO crc32 with addfile '.$y);
+ok($y == 1304913126, 'OO crc32 with addfile '.$y);
# start at offset >0 with previous checksum result
$ctx = Digest::CRC->new(type=>"crc32",cont=>1,init=>2583869373);
~~~~~~~~~~~~~~~~~~
Cheers,
Gregor (Debian Perl Group)
--
.''`. http://info.comodo.priv.at/ | gpg key ID: 0x00F3CFE4
: :' : debian: the universal operating system - http://www.debian.org/
`. `' member of https://www.vibe.at/ | how to reply: http://got.to/quote/
`- NP: Donovan: Catch The Wind
Message body not shown because it is not plain text.