From 4916df6750fdef81500cd9a73ec1c1a878290172 Mon Sep 17 00:00:00 2001 From: Jarkko Hietaniemi Date: Tue, 29 Jul 2003 10:28:10 +0000 Subject: Upgrade to CPAN.pm 1.74. p4raw-id: //depot/perl@20293 --- lib/CPAN/t/signature.t | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'lib/CPAN') diff --git a/lib/CPAN/t/signature.t b/lib/CPAN/t/signature.t index de279358f2..7e62c4d157 100644 --- a/lib/CPAN/t/signature.t +++ b/lib/CPAN/t/signature.t @@ -4,13 +4,14 @@ use strict; print "1..1\n"; if (!eval { require Module::Signature; 1 }) { - print "ok 1 # skip - Module::Signature not installed\n"; + skip("Next time around, consider install Module::Signature, ". + "so you can verify the integrity of this distribution.", 1); } elsif (!eval { require Socket; Socket::inet_aton('pgp.mit.edu') }) { - print "ok 1 # skip - Cannot connect to the keyserver"; + 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"; + (Module::Signature::verify() == Module::Signature::SIGNATURE_OK()) + or print "not "; + print "ok 1 # Valid signature\n"; } -- cgit v1.2.1