[rt-users] problem with Test::Inline

Brooks, Travis C. travis at slac.stanford.edu
Wed Nov 1 11:12:55 EST 2006


I had the exact same problems.  I was using sudo to install modules, and I
think the tests get confused about file permissions when running under
sudo.  I ran the test manually without sudo, and it passed, so then I
simply forced the install in CPAN.

Travis

Travis C. Brooks
SPIRES Scientific Databases Manager
Stanford Linear Accelerator Center
http://www.slac.stanford.edu/spires

On Tue, 31 Oct 2006, Justin Zygmont wrote:

> I am running rhel4, u3 and i'm suprised Test::Inline has been so hard to
> install from cpan.  I have installed the Module::Build from
> http://www.city-fan.org/ftp/contrib/perl-modules/RPMS.rhel4/  andthen
> the only module left that can't install is Test::Inline.  It seems to
> depend on File::Flat and File::Remove, when I try: perl -MCPAN -e
> 'install File::Remove'  I get an error like this:
>
>
> CPAN.pm: Going to build A/AD/ADAMK/File-Remove-0.33.tar.gz
>
> Checking if your kit is complete...
> Looks good
> Writing Makefile for File::Remove
> CPAN: YAML loaded ok
> cp lib/File/Remove.pm blib/lib/File/Remove.pm
> Manifying blib/man3/File::Remove.3pm
>    /usr/bin/make  -- OK
> Running make test
> PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
> "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
> t/01_compile..........ok
> t/02_directories......ok
> t/03_deep_readonly....NOK 14/0
> #   Failed test 'Created t/d1/d2/f3.txt -w'
> #   in t/03_deep_readonly.t at line 47.
> # Looks like you failed 1 test of 16.
> t/03_deep_readonly....dubious
>          Test returned status 1 (wstat 256, 0x100)
> DIED. FAILED test 14
>          Failed 1/16 tests, 93.75% okay
> t/99_author...........skipped
>          all skipped: Author tests not required for installation
> Failed Test          Stat Wstat Total Fail  List of Failed
> -------------------------------------------------------------------------------
> t/03_deep_readonly.t    1   256    16    1  14
> 1 test skipped.
> Failed 1/4 test scripts. 1/171 subtests failed.
> Files=4, Tests=171,  0 wallclock secs ( 0.31 cusr +  0.04 csys =  0.35 CPU)
> Failed 1/4 test programs. 1/171 subtests failed.
> make: *** [test_dynamic] Error 255
>    /usr/bin/make test -- NOT OK
> Running make install
>    make test had returned bad status, won't install without force
>
>
> If someone has any idea, please let me know.  There doesn't seem to be
> any RPM for this with all the required components.
>
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> Community help: http://wiki.bestpractical.com
> Commercial support: sales at bestpractical.com
>
>
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> Buy a copy at http://rtbook.bestpractical.com
>



More information about the rt-users mailing list