Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Test-Dependencies CPAN distribution.

Report information
The Basics
Id: 20927
Status: resolved
Priority: 0/
Queue: Test-Dependencies

People
Owner: Nobody in particular
Requestors: GLASSER [...] CPAN.ORG
Cc:
AdminCc:

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



Subject: doesn't pass tests if B::PerlReq is in $PERL5LIB
Test::Dependencies doesn't pass tests for me. specifically: t/02-dependencies.........Could not compile 't/00-load-basic.t': error code: 512 at /Users/glasser/.cpan/build/Test-Dependencies-0.08/blib/lib/Test/Dependencies.pm line 119. Now, what's going on, AFAICT, is that B::PerlReq is in a directory that's not in my compiled-in @INC, but only in my $PERL5LIB, and when t/02-dependencies runs t/00-load-basic in -T taint mode, it doesn't use PERL5LIB (this may be a recent change), so the test fails. Solution? Um, not sure. I'm going to force install :( --dave Code Monkey, Best Practical Solutions -- David Glasser | glasser@bestpractical.com
Subject: Re: [rt.cpan.org #20927] doesn't pass tests if B::PerlReq is in $PERL5LIB
Date: Wed, 09 Aug 2006 23:44:07 -0400
To: bug-Test-Dependencies [...] rt.cpan.org
From: Zev Benjamin <zev [...] cpan.org>
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Oh, that's yucky. One solution is to not require the tests run under taint mode. However, it sounds like your situation will screw over anyone who needs extra modules and whose tests run under taint mode. I'm not convinced there is a good solution to this. Zev Dave Glasser via RT wrote: Show quoted text
> Wed Aug 09 23:25:12 2006: Request 20927 was acted upon. > Transaction: Ticket created by glasser > Queue: Test-Dependencies > Subject: doesn't pass tests if B::PerlReq is in $PERL5LIB > Broken in: 0.08 > Severity: (no value) > Owner: Nobody > Requestors: glasser@bestpractical.com > Status: new > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=20927 > > > > Test::Dependencies doesn't pass tests for me. specifically: > > t/02-dependencies.........Could not compile 't/00-load-basic.t': error > code: 512 at > /Users/glasser/.cpan/build/Test-Dependencies-0.08/blib/lib/Test/Dependencies.pm > line 119. > > Now, what's going on, AFAICT, is that B::PerlReq is in a directory > that's not in my compiled-in @INC, but only in my $PERL5LIB, and when > t/02-dependencies runs t/00-load-basic in -T taint mode, it doesn't use > PERL5LIB (this may be a recent change), so the test fails. > > Solution? Um, not sure. I'm going to force install :( > > --dave > Code Monkey, Best Practical Solutions
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFE2quClO3j8HLL0+4RAvymAJ96QUbY9TMBkW6SxZG4Y4/Eh5DUJgCgiYbl rvcNXcyPqCjzgKaLZ9I2bsc= =oMMW -----END PGP SIGNATURE-----
Fixed this in 0.11. CPAN testers all use PERL5LIB to set the path to dependencies, so their tests always failed. Zev