perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Markus Wichitill <ma...@gmx.de>
Subject Re: [mp2] t/apr-ext/finfo and t/apr-ext/perlio failures on Linux
Date Sat, 04 Dec 2004 16:06:38 GMT
Stas Bekman wrote:
> Bizarre, I had this problem with 5.6.1 and traced it to Cwd. Upgrading 
> took the problem away.
> 
> Please apply
> 
> Index: t/apr-ext/finfo.t
> ===================================================================
> --- t/apr-ext/finfo.t   (revision 109799)
> +++ t/apr-ext/finfo.t   (working copy)
> @@ -1,5 +1,10 @@
>  #!perl -T
> 
> +BEGIN {
> +    use Carp;
> +    $SIG{__DIE__} = \&Carp::confess;
> +}
> +
>  use strict;
>  use warnings FATAL => 'all';
>  use Apache::Test;
> 
> and run the tests again to find the guilty module for finfo

t/apr-ext/finfo....Insecure dependency in require while running with -T 
switch at /usr/src/modperl-2.0/t/lib/TestAPRlib/finfo.pm line 24.
  at /usr/src/modperl-2.0/t/lib/TestAPRlib/finfo.pm line 24
   TestAPRlib::finfo::BEGIN() called at 
/usr/src/modperl-2.0/t/lib/TestAPRlib/finfo.pm line 24
   eval {...} called at /usr/src/modperl-2.0/t/lib/TestAPRlib/finfo.pm line 24
   require TestAPRlib/finfo.pm called at t/apr-ext/finfo.t line 12
   main::BEGIN() called at /usr/src/modperl-2.0/t/lib/TestAPRlib/finfo.pm 
line 24
   eval {...} called at /usr/src/modperl-2.0/t/lib/TestAPRlib/finfo.pm line 24
BEGIN failed--compilation aborted at 
/usr/src/modperl-2.0/t/lib/TestAPRlib/finfo.pm line 24.
  at /usr/src/modperl-2.0/t/lib/TestAPRlib/finfo.pm line 24
   require TestAPRlib/finfo.pm called at t/apr-ext/finfo.t line 12
   main::BEGIN() called at /usr/src/modperl-2.0/t/lib/TestAPRlib/finfo.pm 
line 24
   eval {...} called at /usr/src/modperl-2.0/t/lib/TestAPRlib/finfo.pm line 24
Compilation failed in require at t/apr-ext/finfo.t line 12.
  at t/apr-ext/finfo.t line 12
   main::BEGIN() called at /usr/src/modperl-2.0/t/lib/TestAPRlib/finfo.pm 
line 12
   eval {...} called at /usr/src/modperl-2.0/t/lib/TestAPRlib/finfo.pm line 12
BEGIN failed--compilation aborted at t/apr-ext/finfo.t line 12.
  at t/apr-ext/finfo.t line 12
dubious
   Test returned status 9 (wstat 2304, 0x900)
FAILED--1 test script could be run, alas--no output ever seen

> I see that the second test reports the problem more detailed:
> 
>   Insecure dependency in mkdir while running with -T switch at
>     /usr/local/perl/lib/File/Path.pm line 159. dubious
> 
> that sucks, but still apply the same thing (or simply put it in t/TEST 
> once)

Putting it in t/TEST doesn't work.

Insecure dependency in mkdir while running with -T switch at 
/usr/local/perl/lib/File/Path.pm line 159.
  at /usr/local/perl/lib/File/Path.pm line 159
   File::Path::mkpath('/usr/src/modperl-2.0/t/htdocs/perlio-ext', 0, 493) 
called at /usr/src/modperl-2.0/blib/lib/Apache/TestUtil.pm line 250
   Apache::TestUtil::makepath('/usr/src/modperl-2.0/t/htdocs/perlio-ext') 
called at /usr/src/modperl-2.0/blib/lib/Apache/TestUtil.pm line 233
   Apache::TestUtil::t_mkdir('/usr/src/modperl-2.0/t/htdocs/perlio-ext') 
called at t/apr-ext/perlio.t line 60
dubious
   Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 1-12


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Mime
View raw message