Skip Menu |
Report information
Id: 132138
Status: resolved
Priority: 0/
Queue: perl5

Owner: Nobody
Requestors: jkeenan [at] pobox.com
Cc:
AdminCc:

Operating System: (no value)
PatchStatus: (no value)
Severity: low
Type: unknown
Perl Version: (no value)
Fixed In: (no value)



To: perlbug [...] perl.org
Subject: t/run/switches.t failures under miniperl
From: James E Keenan <jkeenan [...] pobox.com>
Date: Wed, 20 Sep 2017 19:12:27 -0400
Download (untitled) / with headers
text/plain 882b
As documented in https://rt.perl.org/Ticket/Display.html?id=132137, 'miniperl' is not well documented, particularly underneath the 'pod/' directory where one would expect such documentation. Consequently, I can't definitively say why the following test fails, but I suspect that modules cannot be 'require'd under 'miniperl'. ##### $ ./miniperl t/run/switches.t 1..137 ok 1 - -0 ok 2 - -0 after a -l ok 3 - -0 before a -l ... ok 110 - no warnings/errors without backup extension ok 111 - correct output without backup extension Can't locate File/Spec.pm in @INC (you may need to install the File::Spec module) (@INC contains: ../lib) at t/run/switches.t line 424. # Looks like you planned 137 tests but ran 111. ##### Attached is a 'grep' of t/run/switches.t showing where File::Spec is required and invoked. What is the recommended fix? Thank you very much. Jim Keenan

Message body is not shown because sender requested not to inline it.

RT-Send-CC: perl5-porters [...] perl.org
Download (untitled) / with headers
text/plain 995b
On Wed, 20 Sep 2017 16:12:44 -0700, jkeenan@pobox.com wrote: Show quoted text
> As documented in https://rt.perl.org/Ticket/Display.html?id=132137, > 'miniperl' is not well documented, particularly underneath the 'pod/' > directory where one would expect such documentation. > > Consequently, I can't definitively say why the following test fails, but > I suspect that modules cannot be 'require'd under 'miniperl'. > > ##### > $ ./miniperl t/run/switches.t > > 1..137 > ok 1 - -0 > ok 2 - -0 after a -l > ok 3 - -0 before a -l > ... > ok 110 - no warnings/errors without backup extension > ok 111 - correct output without backup extension > Can't locate File/Spec.pm in @INC (you may need to install the > File::Spec module) (@INC contains: ../lib) at t/run/switches.t line 424. > # Looks like you planned 137 tests but ran 111. > > ##### > > Attached is a 'grep' of t/run/switches.t showing where File::Spec is > required and invoked.
Thanks, fixed by 8200f8061dc056efb643917d5e90c8ee0aad8fd2. Tony
Download (untitled) / with headers
text/plain 317b
Thank you for filing this report. You have helped make Perl better. With the release yesterday of Perl 5.28.0, this and 185 other issues have been resolved. Perl 5.28.0 may be downloaded via: https://metacpan.org/release/XSAWYERX/perl-5.28.0 If you find that the problem persists, feel free to reopen this ticket.


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

For issues related to this RT instance (aka "perlbug"), please contact perlbug-admin at perl.org