~ubuntu-branches/ubuntu/warty/libtext-wikiformat-perl/warty

« back to all changes in this revision

Viewing changes to t/0-signature.t

  • Committer: Bazaar Package Importer
  • Author(s): Sam Johnston
  • Date: 2004-02-18 17:44:54 UTC
  • Revision ID: james.westby@ubuntu.com-20040218174454-hgevegftws121kgv
Tags: upstream-0.71
ImportĀ upstreamĀ versionĀ 0.71

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/perl
 
2
# $File: //member/autrijus/Module-Signature/t/0-signature.t $ $Author: autrijus $
 
3
# $Revision: #1 $ $Change: 1328 $ $DateTime: 2002/10/11 18:56:44 $
 
4
 
 
5
use strict;
 
6
use Test::More tests => 1;
 
7
 
 
8
SKIP: {
 
9
    if (eval { require Module::Signature; 1 }) {
 
10
        ok(Module::Signature::verify() == Module::Signature::SIGNATURE_OK()
 
11
            => "Valid signature" );
 
12
    }
 
13
    else {
 
14
        diag("Next time around, consider install Module::Signature,\n".
 
15
             "so you can verify the integrity of this distribution.\n");
 
16
        skip("Module::Signature not installed", 1)
 
17
    }
 
18
}
 
19
 
 
20
__END__