If run as root, Inline::Files fails "make test" (t/03nowrite.t fails).

Tests 02write.t and 03nowrite.t attempt to self modify.  03nowrite.t
has readonly permissions, and expects to be unable to write to itself.
But if the test is being run as root, it succeeds.  And the test fails.

Mitchell


  CPAN.pm: Going to build D/DC/DCONWAY/Inline-Files-0.60.tar.gz

Checking if your kit is complete...
Looks good
Writing Makefile for Inline::Files
cp lib/Inline/Files.pm blib/lib/Inline/Files.pm
cp lib/Inline/Files/Virtual.pm blib/lib/Inline/Files/Virtual.pm
Manifying blib/man3/Inline::Files.3
Manifying blib/man3/Inline::Files::Virtual.3
  /usr/bin/make  -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/local/bin/perl -Iblib/arch -Iblib/lib 
-I/usr/local/lib/perl5/5.6.1/i686-linux -I/usr/local/lib/perl5/5.6.1 -e 'use 
Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/00init.......ok                                                            
t/01basics.....ok                                                            
t/02write......ok                                                            
t/03nowrite....NOK 2# Failed test 2 in t/03nowrite.t at line 35              
t/03nowrite....FAILED test 2                                                 
        Failed 1/2 tests, 50.00% okay
t/04create.....ok                                                            
t/05seek.......ok                                                            
t/06backup.....ok                                                            
t/07hash.......ok                                                            
Failed Test   Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
t/03nowrite.t                2    1  50.00%  2
Failed 1/8 test scripts, 87.50% okay. 1/67 subtests failed, 98.51% okay.
make: *** [test_dynamic] Error 11
  /usr/bin/make test -- NOT OK

Reply via email to