Skip Menu |

This queue is for tickets about the Haul CPAN distribution.

Report information
The Basics
Id: 13912
Status: new
Priority: 0/
Queue: Haul

People
Owner: Nobody in particular
Requestors: cpanrt [...] unixdaemon.net
Cc:
AdminCc:

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



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"));