summaryrefslogtreecommitdiff
path: root/perl
diff options
context:
space:
mode:
authorRuss Allbery <rra@stanford.edu>2013-03-27 17:33:01 -0700
committerRuss Allbery <rra@stanford.edu>2013-03-27 17:33:01 -0700
commit6d4d689361c29528cf92bc10750e260d48529b69 (patch)
tree6003de23cd03320d31b986a23c157a607793fcbb /perl
parent7dc9e65f7ca2f1181e62f339b0d2ed7ca4978ee5 (diff)
parent0002bc7ed9ff15f6c3f2b457509d5ef0f2b5a4a4 (diff)
Imported Upstream version 1.0
Diffstat (limited to 'perl')
-rwxr-xr-xperl/t/wa-keyring.t11
1 files changed, 9 insertions, 2 deletions
diff --git a/perl/t/wa-keyring.t b/perl/t/wa-keyring.t
index 3011d54..7ba5723 100755
--- a/perl/t/wa-keyring.t
+++ b/perl/t/wa-keyring.t
@@ -11,13 +11,20 @@
use strict;
use warnings;
+use Test::More;
+
+BEGIN {
+ eval 'use WebAuth 3.06 qw(WA_KEY_AES WA_AES_128)';
+ plan skip_all => 'WebAuth 3.06 required for testing wa-keyring'
+ if $@;
+}
+
use POSIX qw(strftime);
-use Test::More tests => 68;
-use WebAuth 3.06 qw(WA_KEY_AES WA_AES_128);
use WebAuth::Key 1.01 ();
use WebAuth::Keyring 1.02 ();
BEGIN {
+ plan tests => 68;
use_ok('Wallet::Admin');
use_ok('Wallet::Config');
use_ok('Wallet::Object::WAKeyring');