Subject: | t/agent.t fails with GnuPG::Interface > 0.45 |
Date: | Wed, 20 Feb 2013 08:20:54 +0100 |
To: | bug-Mail-GnuPG [...] rt.cpan.org |
From: | Ralf Corsépius <corsepiu [...] fedoraproject.org> |
Hi,
Mail-GnuPG-0.18's testsuite fails with GnuPG::Interface > 0.45:
t/00.signature.t ......... skipped: Set the environment variable
TEST_SIGNATURE to enable this test.
t/05.load.t .............. ok
t/20.inline-verify.t ..... ok
t/25.multipart-verify.t .. ok
t/30.inline-decrypt.t .... ok
t/35.has-public-key.t .... ok
t/99.pod.t ............... ok
t/agent.t ................ 1/?
# Failed test at t/agent.t line 78.
# got: '0'
# expected: '2'
# Failed test at t/agent.t line 81.
# got: '0'
# expected: '2'
# Failed test at t/agent.t line 82.
# got: 'EFEA4EAD'
# expected: undef
# Failed test at t/agent.t line 83.
# got: 'Mail::GnuPG Test Key <mail@gnupg.dom>'
# expected: undef
# Failed test at t/agent.t line 92.
# got: '0'
# expected: '2'
Unknown Content-Type or no PGP message in body at
/builddir/build/BUILD/Mail-GnuPG-0.18/blib/lib/Mail/GnuPG.pm line 402.
# Looks like you planned 20 tests but ran 8.
# Looks like you failed 5 tests of 8 run.
# Looks like your test exited with 2 just after 8.
t/agent.t ................ Dubious, test returned 2 (wstat 512, 0x200)
Failed 17/20 subtests
t/base.t ................. ok
t/round-trip.t ........... ok
The test-suite completes without complaints with
GnuPG::Interface-0.44 or 0.45.
As things appear to me, something has changed in GnuPG::Interface-0.46,
which actually breaks Mail::GnuPG or at least Mail::GnuPG's t/agent.t.
Ralf