Skip Menu |
 

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

Report information
The Basics
Id: 16076
Status: new
Priority: 0/
Queue: File-MMagic

People
Owner: Nobody in particular
Requestors: mag-perl [...] occamstoothbrush.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.25
Fixed in: (no value)



Subject: test failures when files in t/ are executable
The install of File::MMagic failed on my system. I believe this is due to the files in the t/ directory having their executable bit set. After removing the executable bit by running: $ chmod -x t/* ...the tests ran fine. System details: RHEL 4 (update 2) perl 5.8.5 File::MMagic 1.25 Sample test failure: $ perl -Iblib/lib t/01-selfcheck.t # Running under perl version 5.008005 for linux # Current time local: Wed Nov 23 20:43:31 2005 # Current time GMT: Thu Nov 24 01:43:31 2005 # Using Test.pm version 1.25 not ok 1 # Failed test 1 in t/01-selfcheck.t at line 14 # t/01-selfcheck.t line 14 is: ok($ret eq 'text/plain'); Further diagnostics: $ perl -Iblib/lib -MFile::MMagic -le'print my $ret = File::MMagic->new->checktype_filename("t/01-selfcheck.t");' x-system/x-unix; commands text $ chmod -x t/01-selfcheck.t $ perl -Iblib/lib -MFile::MMagic -le'print my $ret = File::MMagic->new->checktype_filename("t/01-selfcheck.t");' text/plain Michael


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.