Skip Menu |

This queue is for tickets about the CPAN-SQLite CPAN distribution.

Report information
The Basics
Id: 28297
Status: resolved
Priority: 0/
Queue: CPAN-SQLite

People
Owner: Nobody in particular
Requestors: dagolden [...] cpan.org
Cc:
AdminCc:

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



Subject: t/05meta.t ignores PERL5LIB
t/05meta.t sets $ENV{PERL5LIB} without regard for any prior value of $ENV{PERL5LIB}. This causes failures when prerequisite modules are installed in a user's home directory set in PERL5LIB. Appending the old PERL5LIB seems to solve that problem and pass tests. --- t/05meta.t.orig 2007-07-16 10:25:05.000000000 -0700 +++ t/05meta.t 2007-07-16 10:25:55.000000000 -0700 @@ -15,7 +15,8 @@ my $path_sep = $Config{path_sep} || ':'; $ENV{PERL5LIB} = join $path_sep, (File::Spec->catdir($cwd, qw(t dot-cpan)), - map {File::Spec->catdir($cwd, 'blib', $_)} qw(arch lib) ); + map {File::Spec->catdir($cwd, 'blib', $_)} qw(arch lib) ), + $ENV{PERL5LIB}; # so that a real $HOME/.cpan isn't used $ENV{HOME} = File::Spec->catdir($cwd, qw(t));
Thanks very much - this is incorporated into CPAN-SQLite-0.15, which is just being sent to CPAN.