This test is pretty useless as it stands.
Jarkko Hietaniemi [Thu, 31 Jul 2003 11:28:58 +0000 (11:28 +0000)]
p4raw-id: //depot/perl@20377

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

index 4951fa6..cc2b4f5 100644 (file)
--- a/MANIFEST
+++ b/MANIFEST
@@ -1052,7 +1052,6 @@ lib/CPAN/Nox.pm                   Runs CPAN while avoiding compiled extensions
 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         See if CPAN signatures work
 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";
-}