H.Merijn Brand wrote:
> Because I installed Test::Pod and Test::Pod::Coverage (requiring a whole
> chain of other modules) and Devel::Cover, I also had to install
> Module::Signature somewhere along the line, and this causes the 5.8.8 tests
> to fail. After reading Module::Signature's docs, I propose the following
> patch to blead (and maint):

blead hasn't signature.t. I removed it, due to the lack of Module::Signature.
Moreover, the SIGNATURE file is actually there, in lib/CPAN, but not
found because the tests are run from t/.

> Failed Test               Stat Wstat Total Fail  Failed  List of Failed
> -------------------------------------------------------------------------------
> ../lib/CPAN/t/signature.t                1    1 100.00%  1
> 53 tests and 207 subtests skipped.
> Failed 1/971 test scripts, 99.90% okay. 1/101205 subtests failed, 100.00% 
> okay.
> lt09:/pro/3gl/CPAN/perl-5.8.x-dor 108 > diff -pu lib/CPAN/t/signature.t{,.new}
> --- lib/CPAN/t/signature.t      2003-07-31 22:56:23.000000000 +0200
> +++ lib/CPAN/t/signature.t.new  2005-09-20 09:35:08.000000000 +0200
> @@ -3,7 +3,10 @@
>  use strict;
>  print "1..1\n";
> 
> -if (!eval { require Module::Signature; 1 }) {
> +if (!-s 'SIGNATURE') {
> +  print "ok 1 # skip - No signature file found\n";
> +}
> +elsif (!eval { require Module::Signature; 1 }) {
>    print "ok 1 # skip - no Module::Signature found\n";
>  }
>  elsif (!eval { require Socket; Socket::inet_aton('pgp.mit.edu') }) {
> Exit 1
> lt09:/pro/3gl/CPAN/perl-5.8.x-dor 109 >

Reply via email to