Skip Menu |

This queue is for tickets about the Crypt-OpenSSL-RSA CPAN distribution.

Report information
The Basics
Id: 25279
Status: resolved
Priority: 0/
Queue: Crypt-OpenSSL-RSA

People
Owner: Nobody in particular
Requestors: mf [...] mfedv.net
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: test count planning broken in t/rsa.t (Crypt-OpenSSL-RSA-0.24)
Date: Mon, 05 Mar 2007 02:09:41 +0100
To: bug-Crypt-OpenSSL-RSA [...] rt.cpan.org
From: Matthias Ferdinand <mf [...] mfedv.net>
Hello, when trying to install Crypt::OpenSSL::RSA from CPAN (I/IR/IROBERTS/Crypt-OpenSSL-RSA-0.24.tar.gz) on - i386 SuSE8.2 - i386 SuSE9.2 - i386 SuSE10.0 - i386 Debian Sarge it will not install due to test failures: t/rsa.......FAILED tests 44-45 Failed 2/45 tests, 95.56% okay Actually, all the tests succeed, but there is a bug in the "plan tests" statement. The number is correct when "use_sha512_hash" succeeds, but wrong otherwise. The following diff corrects that: --- t/rsa.t.orig 2006-11-13 01:01:04.000000000 +0100 +++ t/rsa.t 2007-03-05 02:04:37.000000000 +0100 @@ -4,7 +4,7 @@ use Crypt::OpenSSL::Random; use Crypt::OpenSSL::RSA; -BEGIN { plan tests => 45 + (UNIVERSAL::can("Crypt::OpenSSL::RSA", "use_sha512_hash") ? 3*6 : 0) } +BEGIN { plan tests => 43 + (UNIVERSAL::can("Crypt::OpenSSL::RSA", "use_sha512_hash") ? 4*5 : 0) } sub _Test_Encrypt_And_Decrypt { Best regards Matthias Ferdinand
This was fixed in version 0.25