Skip Menu |

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

Report information
The Basics
Id: 133862
Status: resolved
Priority: 0/
Queue: Test-EOL

People
Owner: Nobody in particular
Requestors: tzccinct [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 2.00
Fixed in: 2.01



Subject: t/10-use-self.t fails when directory name includes *inc*
$ prove -blv t/10-use-self.t t/10-use-self.t .. 1..0 skipped: (no reason given) For details about environment, please see <http://www.cpantesters.org/cpan/report/babb4246-745b-1014-9658-908476d8a230>. [Cause] Test::EOL::_all_files() filters out Module::Install stuff, that is, files under inc/ directory. But current Test::EOL::_all_files() filters out not only inc/ directory but also *inc*/ directory. I make Test::EOL module on /home/tzccinct/... directory which includes a word "inc" in the middle of my name. So all the files under /home/tzccinct directory are filtered out unexpectedly. If you are OK, would you apply the attached patch?
Subject: EOL.pm.patch
--- EOL.pm.original 2017-05-04 07:39:03.000000000 +0900 +++ EOL.pm 2020-12-03 21:14:54.432094200 +0900 @@ -55,7 +55,7 @@ return if ($File::Find::dir =~ m![\\/]?CVS[\\/]|[\\/]?\.svn[\\/]!); # Filter out cvs or subversion dirs/ return if ($File::Find::dir =~ m![\\/]?blib[\\/]libdoc$!); # Filter out pod doc in dist return if ($File::Find::dir =~ m![\\/]?blib[\\/]man\d$!); # Filter out pod doc in dist - return if ($File::Find::dir =~ m![\\/]?inc!); # Filter out Module::Install stuff + return if ($File::Find::dir =~ m![\\/]?inc$!); # Filter out Module::Install stuff return if ($File::Find::name =~ m!Build$!i); # Filter out autogenerated Build script return unless (-f $File::Find::name && -r _); push @found, File::Spec->no_upwards( $File::Find::name );
Thank you! I have fixed this issue in the 2.001 release, uploading to PAUSE right now.