summaryrefslogtreecommitdiff
path: root/lib/CPAN
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2003-07-29 10:28:10 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2003-07-29 10:28:10 +0000
commit4916df6750fdef81500cd9a73ec1c1a878290172 (patch)
treed7ba0080b66f7ce602057e4b946f9be7cf9a9026 /lib/CPAN
parent13207a7148ab5967a6d91a9acb60e5e292572de2 (diff)
downloadperl-4916df6750fdef81500cd9a73ec1c1a878290172.tar.gz
Upgrade to CPAN.pm 1.74.
p4raw-id: //depot/perl@20293
Diffstat (limited to 'lib/CPAN')
-rw-r--r--lib/CPAN/t/signature.t11
1 files changed, 6 insertions, 5 deletions
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";
}