Skip to content

Commit

Permalink
skip signature test on M:S < 0.66
Browse files Browse the repository at this point in the history
  • Loading branch information
andk committed Sep 28, 2010
1 parent e51c722 commit e4d7641
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions t/00signature.t
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@ BEGIN {
$exit_message = "No Module::Signature found [INC = @INC]";
}
}
unless ($exit_message) {
if ( $Module::Signature::VERSION < 0.6599999) {
$exit_message = "Module::Signature version $Module::Signature::VERSION too old, expecting at least 0.66";
}
}
unless ($exit_message) {
if (!eval { require Socket; Socket::inet_aton('pool.sks-keyservers.net') }) {
$exit_message = "Cannot connect to the keyserver";
Expand Down

0 comments on commit e4d7641

Please sign in to comment.