Since the signature.t test of CPAN relies on a non-core module,
Rafael Garcia-Suarez [Tue, 16 Mar 2004 13:23:34 +0000 (13:23 +0000)]
it's not relevant to the perl core distribution.

p4raw-id: //depot/perl@22503

MANIFEST
lib/CPAN/t/signature.t [deleted file]

index f34a3bd..6122742 100644 (file)
--- 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 (file)
index cf81f88..0000000
+++ /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";
-}