Skip Menu |
 

This queue is for tickets about the URI CPAN distribution.

Report information
The Basics
Id: 117065
Status: new
Priority: 0/
Queue: URI

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

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



Subject: unit tests invoke other perl scripts (. in @INC)
Download (untitled) / with headers
text/plain 627b
I found this while debugging t/storable.t The code injects relative directories to call storable-test.pl. This patch would put absolute paths in place: diff --git a/modules/URI/URI/t/storable.t b/modules/URI/URI/t/storable.t index cf6e65a..c8b1ea5 100644 --- a/modules/URI/URI/t/storable.t +++ b/modules/URI/URI/t/storable.t @@ -10,7 +10,7 @@ if ($@) { exit; } -system($^X, "-Iblib/lib", "t/storable-test.pl", "store"); -system($^X, "-Iblib/lib", "t/storable-test.pl", "retrieve"); +system($^X, "-Mblib", "t/storable-test.pl", "store"); +system($^X, "-Mblib", "t/storable-test.pl", "retrieve"); unlink('urls.sto');


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.