Skip Menu |

This queue is for tickets about the File-ShareDir CPAN distribution.

Report information
The Basics
Id: 120833
Status: resolved
Priority: 0/
Queue: File-ShareDir

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

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



Subject: Fails tests when no "." in @INC
on 5.25.11+  ( or any perl compiled with -Ddefault_inc_excludes_dot with PERL_USE_UNSAFE_INC=0 in ENV )
t/01_compile.t .. ok                                                    
t/02_main.t ..... Can't locate t/lib/ShareDir.pm in @INC (you may need to install the t::lib::ShareDir module) (@INC contains: /var/tmp/portage/dev-perl/File-ShareDir-1.102.0/work/File-ShareDir-1.102/blib/lib /var/tmp/portage/dev-perl/File-ShareDir-1.102.0/work/File-ShareDir-1.102/blib/arch /var/tmp/portage/dev-perl/File-ShareDir-1.102.0/work/File-ShareDir-1.102/blib/lib /var/tmp/portage/dev-perl/File-ShareDir-1.102.0/work/File-ShareDir-1.102/blib/arch /etc/perl /usr/local/lib64/perl5/5.25.11/x86_64-linux /usr/local/lib64/perl5/5.25.11 /usr/lib64/perl5/vendor_perl/5.25.11/x86_64-linux /usr/lib64/perl5/vendor_perl/5.25.11 /usr/local/lib64/perl5 /usr/lib64/perl5/vendor_perl/5.25.11 /usr/lib64/perl5/vendor_perl/5.22.3 /usr/lib64/perl5/vendor_perl /usr/lib64/perl5/5.25.11/x86_64-linux /usr/lib64/perl5/5.25.11) at t/02_main.t line 128.
BEGIN failed--compilation aborted at t/02_main.t line 128.
# Looks like your test exited with 2 before it could output anything.
t/02_main.t ..... Dubious, test returned 2 (wstat 512, 0x200)
Failed 30/30 subtests

PLICEASE has filed a PR here that looks alright to me, but I have not tested it: https://github.com/perl5-utils/File-ShareDir/pull/7

-- 
- CPAN kentnl@cpan.org
- Gentoo Perl Maintainer kentnl@gentoo.org ( perl@gentoo.org )
Forgot to upload release ... :(