]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
fix 901-secure-mail-loop.t test
authorDylan William Hardison <dylan@hardison.net>
Fri, 26 May 2017 15:19:08 +0000 (11:19 -0400)
committerDylan William Hardison <dylan@hardison.net>
Fri, 2 Jun 2017 17:06:03 +0000 (13:06 -0400)
t/901-secure-mail-loop.t

index bfecb82c74343dc407fcb60e711b8820697fbdde..1431b9fddcb914ab94c66e4971cb101c04eb14c6 100644 (file)
@@ -7,6 +7,7 @@
 use strict;
 use warnings;
 use 5.10.1;
+use lib qw( . lib local/lib/perl5 );
 use Test::More tests => 1;
 
 use Crypt::OpenPGP;
@@ -15,7 +16,7 @@ my $pubring = new Crypt::OpenPGP::KeyRing(Data => PUBLIC_KEY());
 my $pgp = new Crypt::OpenPGP(PubRing => $pubring);
 {
     local $SIG{ALRM} = sub { fail("stuck in a loop"); exit; };
-    alarm(5);
+    alarm(60);
     my $encrypted = $pgp->encrypt(
         Data       => "hello, world",
         Recipients => "@",