r41344 - in /trunk/libnet-managesieve-perl: debian/patches/disable-signature-test.patch t/00-signature.t

jawnsy-guest at users.alioth.debian.org jawnsy-guest at users.alioth.debian.org
Wed Aug 5 02:57:55 UTC 2009


Author: jawnsy-guest
Date: Wed Aug  5 02:57:49 2009
New Revision: 41344

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=41344
Log:
Added the patch, undo the modified test

Added:
    trunk/libnet-managesieve-perl/debian/patches/disable-signature-test.patch
Modified:
    trunk/libnet-managesieve-perl/t/00-signature.t

Added: trunk/libnet-managesieve-perl/debian/patches/disable-signature-test.patch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-managesieve-perl/debian/patches/disable-signature-test.patch?rev=41344&op=file
==============================================================================
--- trunk/libnet-managesieve-perl/debian/patches/disable-signature-test.patch (added)
+++ trunk/libnet-managesieve-perl/debian/patches/disable-signature-test.patch Wed Aug  5 02:57:49 2009
@@ -1,0 +1,19 @@
+Description: Disable signature test
+ Sometimes Module::Signature will try to retrieve signatures. It
+ fails on systems without Internet.
+Origin: vendor
+Forwarded: no
+Author: Jonathan Yu <frequency at cpan.org>
+--- a/t/00-signature.t
++++ b/t/00-signature.t
+@@ -2,6 +2,10 @@
+ use strict;
+ print "1..1\n";
+ 
++unless ($ENV{HAS_INTERNET}) {
++   print "ok 1 # skip Only perform test with internet access\n";
++}
++
+ if (!-s 'SIGNATURE') {
+    print "ok 1 # skip No signature file found\n";
+ }

Modified: trunk/libnet-managesieve-perl/t/00-signature.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-managesieve-perl/t/00-signature.t?rev=41344&op=diff
==============================================================================
--- trunk/libnet-managesieve-perl/t/00-signature.t (original)
+++ trunk/libnet-managesieve-perl/t/00-signature.t Wed Aug  5 02:57:49 2009
@@ -1,10 +1,6 @@
 #!/usr/bin/perl
 use strict;
 print "1..1\n";
-
-unless ($ENV{HAS_INTERNET}) {
-   print "ok 1 # skip Only perform test with internet access\n";
-}
 
 if (!-s 'SIGNATURE') {
    print "ok 1 # skip No signature file found\n";




More information about the Pkg-perl-cvs-commits mailing list