[Pkg-privacy-commits] [msva-perl] 330/356: modify test to test export of OpenPGP_to_OpenSSH_pub

Ximin Luo infinity0 at moszumanska.debian.org
Mon Aug 24 07:42:10 UTC 2015


This is an automated email from the git hooks/post-receive script.

infinity0 pushed a commit to branch debian
in repository msva-perl.

commit 8080cc9db88173e21d185713bd6d332c5187448f
Author: David Bremner <bremner at unb.ca>
Date:   Sun Apr 24 07:33:24 2011 -0300

    modify test to test export of OpenPGP_to_OpenSSH_pub
---
 unit-tests/40.keytrans/10.openpgp2ssh.t | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/unit-tests/40.keytrans/10.openpgp2ssh.t b/unit-tests/40.keytrans/10.openpgp2ssh.t
index a14b641..ed042fa 100644
--- a/unit-tests/40.keytrans/10.openpgp2ssh.t
+++ b/unit-tests/40.keytrans/10.openpgp2ssh.t
@@ -1,7 +1,7 @@
 # -*- perl -*-
 use Test::More;
 
-use Crypt::Monkeysphere::Keytrans;
+use Crypt::Monkeysphere::Keytrans qw(GnuPGKey_to_OpenSSH_pub);
 use GnuPG::Interface;
 use File::Temp qw(tempdir);
 
@@ -47,7 +47,7 @@ waitpid($pid, 0);
 my @keys = $gnupg->get_public_keys();
 
 foreach $key (@keys) {
-  my $output = Crypt::Monkeysphere::Keytrans::GnuPGKey_to_OpenSSH_pub($key);
+  my $output = GnuPGKey_to_OpenSSH_pub($key);
   is($sshdata, $output);
 }
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/msva-perl.git



More information about the Pkg-privacy-commits mailing list