Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Path-Class CPAN distribution.

Maintainer(s)' notes

I prefer that bugs & patches are filed on GitHub rather than on RT: https://github.com/kenahoo/Path-Class/issues. Thanks.

Report information
The Basics
Id: 81944
Status: resolved
Priority: 0/
Queue: Path-Class

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

Bug Information
Severity: Important
Broken in: 0.27
Fixed in: (no value)



Subject: t/06-traverse_filt.t fails
--> Working on Path::Class Fetching http://search.cpan.org/CPAN/authors/id/K/KW/KWILLIAMS/Path-Class-0.27.tar.gz -> OK Unpacking Path-Class-0.27.tar.gz Entering Path-Class-0.27 Checking configure dependencies from META.yml Checking if you have ExtUtils::MakeMaker 6.30 ... Yes (6.62) Checking if you have Module::Build 0.3601 ... Yes (0.4003) Configuring Path-Class-0.27 Running Build.PL Created MYMETA.yml and MYMETA.json Creating new 'Build' script for 'Path-Class' version '0.27' -> OK Checking dependencies from MYMETA.json ... Checking if you have warnings 0 ... Yes (1.12) Checking if you have Test::More 0 ... Yes (0.98) Checking if you have Test 0 ... Yes (1.25_02) Checking if you have Module::Build 0.3601 ... Yes (0.4003) Checking if you have base 0 ... Yes (2.16) Checking if you have IO::File 0 ... Yes (1.15) Checking if you have File::Spec 0.87 ... Yes (3.33) Checking if you have overload 0 ... Yes (1.13) Checking if you have Exporter 0 ... Yes (5.64_03) Checking if you have Carp 0 ... Yes (1.26) Checking if you have strict 0 ... Yes (1.04) Checking if you have File::Temp 0 ... Yes (0.22) Checking if you have File::Path 0 ... Yes (2.08_01) Checking if you have IO::Dir 0 ... Yes (1.08) Checking if you have Cwd 0 ... Yes (3.36) Checking if you have File::stat 0 ... Yes (1.05) Building and testing Path-Class-0.27 Building Path-Class t/01-basic.t .......... ok t/02-foreign.t ........ ok t/03-filesystem.t ..... ok t/04-subclass.t ....... ok t/05-traverse.t ....... ok # Failed test at t/06-traverse_filt.t line 48. # got: '9' # expected: '3' # Failed test at t/06-traverse_filt.t line 60. # got: '5' # expected: '3' # Failed test at t/06-traverse_filt.t line 72. # got: '3' # expected: '2' # Looks like you failed 3 tests of 4. t/06-traverse_filt.t .. Dubious, test returned 3 (wstat 768, 0x300) Failed 3/4 subtests t/07-recurseprune.t ... ok t/author-critic.t ..... skipped: these tests are for testing by the author Test Summary Report ------------------- t/06-traverse_filt.t (Wstat: 768 Tests: 4 Failed: 3) Failed tests: 2-4 Non-zero exit status: 3 Files=8, Tests=199, 1 wallclock secs ( 0.07 usr 0.07 sys + 0.48 cusr 0.17 csys = 0.79 CPU) Result: FAIL Failed 1/8 test programs. 3/199 subtests failed. -> FAIL Installing Path::Class failed. See /root/.cpanm/build.log for details.
I think this test doesn't actually have to rely on permissions, it could even filter by letters in the filename or whatever. I can make that change.
By the way - it's not a good idea to run tests as root. Only the install step should be run as root.