From f95c1422fa7828234ba339bc73e753677504f145 Mon Sep 17 00:00:00 2001 From: Jarkko Hietaniemi Date: Thu, 31 Jul 2003 11:28:58 +0000 Subject: This test is pretty useless as it stands. p4raw-id: //depot/perl@20377 --- lib/CPAN/t/signature.t | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 lib/CPAN/t/signature.t (limited to 'lib/CPAN') diff --git a/lib/CPAN/t/signature.t b/lib/CPAN/t/signature.t deleted file mode 100644 index cf81f88800..0000000000 --- a/lib/CPAN/t/signature.t +++ /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"; -} -- cgit v1.2.1