Subject: | Haul Tests Fail |
When installing Haul version 2.24 via the CPAN shell the tests fail.
The tests download the Acme::Colour module and use some of its values, such as the version number, to confirm Haul is working. Over time the values hard coded in the t/simple.t file have drifted and no longer match the actual distribution on CPAN.
The module functions after a force install so it's not a showstopper.
A quick fix is given below but it'll break as soon as Acme::Colour changes versions again.
--- simple.test Fri Jul 29 01:14:20 2005
+++ simple.t Fri Jul 29 01:15:34 2005
@@ -11,15 +11,15 @@
chdir "work";
my $filename = $h->fetch("Acme::Colour");
-like($filename, qr/Acme-Colour-1.00/);
+like($filename, qr/Acme-Colour-1.02/);
ok(-f $filename);
my $dir = $h->extract("Acme::Colour");
-like($dir, qr/Acme-Colour-1.00/);
+like($dir, qr/Acme-Colour-1.02/);
ok(-d $dir);
$dir = $h->extract("Acme::Colour");
-like($dir, qr/Acme-Colour-1.00/);
+like($dir, qr/Acme-Colour-1.02/);
ok(-d $dir);
ok(!$h->installed("This::Module::Does::Not::Exist"));