From: Rafael Garcia-Suarez Date: Tue, 16 Mar 2004 13:23:34 +0000 (+0000) Subject: Since the signature.t test of CPAN relies on a non-core module, X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=c33c3659dd2d2d8554d1c56cd27df30a07c25f53;p=p5sagit%2Fp5-mst-13.2.git Since the signature.t test of CPAN relies on a non-core module, it's not relevant to the perl core distribution. p4raw-id: //depot/perl@22503 --- diff --git a/MANIFEST b/MANIFEST index f34a3bd..6122742 100644 --- a/MANIFEST +++ b/MANIFEST @@ -1082,7 +1082,6 @@ lib/CPAN/SIGNATURE CPAN signature lib/CPAN/t/loadme.t See if CPAN the module works lib/CPAN/t/mirroredby.t See if CPAN::Mirrored::By works lib/CPAN/t/Nox.t See if CPAN::Nox works -lib/CPAN/t/signature.t CPAN signature test lib/CPAN/t/vcmp.t See if CPAN the module works lib/ctime.pl A ctime workalike lib/Cwd.pm Various cwd routines (getcwd, fastcwd, chdir) diff --git a/lib/CPAN/t/signature.t b/lib/CPAN/t/signature.t deleted file mode 100644 index cf81f88..0000000 --- a/lib/CPAN/t/signature.t +++ /dev/null @@ -1,16 +0,0 @@ -# -*- mode: cperl -*- - -use strict; -print "1..1\n"; - -if (!eval { require Module::Signature; 1 }) { - print "ok 1 # skip - no Module::Signature found\n"; -} -elsif (!eval { require Socket; Socket::inet_aton('pgp.mit.edu') }) { - print "ok 1 # skip - Cannot connect to the keyserver"; -} -else { - (Module::Signature::verify() == Module::Signature::SIGNATURE_OK()) - or print "not "; - print "ok 1 # Valid signature\n"; -}