Skip Menu |

This queue is for tickets about the Net-SSLeay CPAN distribution.

Report information
The Basics
Id: 78281
Status: resolved
Worked: 30 min
Priority: 0/
Queue: Net-SSLeay

People
Owner: MIKEM [...] cpan.org
Requestors: paul [...] city-fan.org
Cc:
AdminCc:

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



Subject: [PATCH] t/local/kwalitee.t fails with Module::CPANTS::Analyse 0.86
$ make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/local/*.t t/handle/local/*.t t/handle/local/05_use.t ................ ok t/local/01_pod.t ....................... ok t/local/02_pod_coverage.t .............. ok t/local/03_use.t ....................... ok # Version info: # Testing Net::SSLeay 1.48, Perl 5.014002, /usr/bin/perl # OpenSSL version: 'OpenSSL 1.0.1c-fips 10 May 2012' # OpenSSL platform: 'platform: linux-x86_64' t/local/04_basic.t ..................... ok t/local/05_passwd_cb.t ................. ok t/local/06_tcpecho.t ................... ok t/local/07_sslecho.t ................... ok t/local/08_pipe.t ...................... ok t/local/15_bio.t ....................... ok t/local/20_autoload.t .................. ok t/local/21_constants.t ................. ok t/local/30_error.t ..................... ok t/local/31_rsa_generate_key.t .......... ok t/local/32_x509_get_cert_info.t ........ ok t/local/33_x509_create_cert.t .......... ok t/local/34_x509_crl.t .................. ok t/local/35_ephemeral.t ................. ok t/local/36_verify.t .................... ok t/local/37_asn1_time.t ................. ok t/local/38_priv-key.t .................. ok t/local/39_pkcs12.t .................... ok t/local/40_npn_support.t ............... ok t/local/50_digest.t .................... ok t/local/61_threads-cb-crash.t .......... ok t/local/62_threads-ctx_new-deadlock.t .. ok # Failed test 'no_pod_errors' # at /usr/share/perl5/vendor_perl/Test/Kwalitee.pm line 101. # Remove the POD errors. You can check for POD errors automatically by including Test::Pod to your test suite.The documentation for this distribution contains syntactic errors in its POD. Note that this metric tests all .pl, .pm and .pod files, even if they are in t/. See 'pod_message' in the dist error view for more info. # Looks like you failed 1 test of 13. t/local/kwalitee.t ..................... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/13 subtests Test Summary Report ------------------- t/local/kwalitee.t (Wstat: 256 Tests: 13 Failed: 1) Failed test: 10 Non-zero exit status: 1 Files=27, Tests=2172, 4 wallclock secs ( 0.26 usr 0.04 sys + 3.96 cusr 0.20 csys = 4.46 CPU) Result: FAIL Failed 1/27 test programs. 1/2172 subtests failed. make: *** [test_dynamic] Error 1 This happens because lib/Net/SSLeay.pod includes a UTF-8 encoded name but the file's encoding isn't specified using =encoding. Attached trivial patch fixes this.
Subject: Net-SSLeay-1.48-pod-encoding.patch
--- lib/Net/SSLeay.pod +++ lib/Net/SSLeay.pod @@ -1,3 +1,4 @@ +=encoding utf-8 =head1 NAME
Subject: Re: [rt.cpan.org #78281] [PATCH] t/local/kwalitee.t fails with Module::CPANTS::Analyse 0.86
Date: Tue, 10 Jul 2012 07:35:54 +1000
To: bug-Net-SSLeay [...] rt.cpan.org
From: Mike McCauley <mikem [...] open.com.au>
Hi Paul, thanks. Now in SVN commit 346 Cheers. On Monday, July 09, 2012 05:27:56 PM you wrote: Show quoted text
> Mon Jul 09 17:27:55 2012: Request 78281 was acted upon. > Transaction: Ticket created by paul@city-fan.org > Queue: Net-SSLeay > Subject: [PATCH] t/local/kwalitee.t fails with Module::CPANTS::Analyse > 0.86 Broken in: 1.48 > Severity: (no value) > Owner: Nobody > Requestors: paul@city-fan.org > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=78281 > > > > $ make test > PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" > "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/local/*.t > t/handle/local/*.t > t/handle/local/05_use.t ................ ok > t/local/01_pod.t ....................... ok > t/local/02_pod_coverage.t .............. ok > t/local/03_use.t ....................... ok > # Version info: > # Testing Net::SSLeay 1.48, Perl 5.014002, /usr/bin/perl > # OpenSSL version: 'OpenSSL 1.0.1c-fips 10 May 2012' > # OpenSSL platform: 'platform: linux-x86_64' > t/local/04_basic.t ..................... ok > t/local/05_passwd_cb.t ................. ok > t/local/06_tcpecho.t ................... ok > t/local/07_sslecho.t ................... ok > t/local/08_pipe.t ...................... ok > t/local/15_bio.t ....................... ok > t/local/20_autoload.t .................. ok > t/local/21_constants.t ................. ok > t/local/30_error.t ..................... ok > t/local/31_rsa_generate_key.t .......... ok > t/local/32_x509_get_cert_info.t ........ ok > t/local/33_x509_create_cert.t .......... ok > t/local/34_x509_crl.t .................. ok > t/local/35_ephemeral.t ................. ok > t/local/36_verify.t .................... ok > t/local/37_asn1_time.t ................. ok > t/local/38_priv-key.t .................. ok > t/local/39_pkcs12.t .................... ok > t/local/40_npn_support.t ............... ok > t/local/50_digest.t .................... ok > t/local/61_threads-cb-crash.t .......... ok > t/local/62_threads-ctx_new-deadlock.t .. ok > # Failed test 'no_pod_errors' > # at /usr/share/perl5/vendor_perl/Test/Kwalitee.pm line 101. > # Remove the POD errors. You can check for POD errors automatically by > including Test::Pod to your test suite.The documentation for this > distribution contains syntactic errors in its POD. Note that this metric > tests all .pl, .pm and .pod files, even if they are in t/. See > 'pod_message' in the dist error view for more info. > # Looks like you failed 1 test of 13. > t/local/kwalitee.t ..................... > Dubious, test returned 1 (wstat 256, 0x100) > Failed 1/13 subtests > Test Summary Report > ------------------- > t/local/kwalitee.t (Wstat: 256 Tests: 13 Failed: 1) > Failed test: 10 > Non-zero exit status: 1 > Files=27, Tests=2172, 4 wallclock secs ( 0.26 usr 0.04 sys + 3.96 > cusr 0.20 csys = 4.46 CPU) > Result: FAIL > Failed 1/27 test programs. 1/2172 subtests failed. > make: *** [test_dynamic] Error 1 > > This happens because lib/Net/SSLeay.pod includes a UTF-8 encoded name > but the file's encoding isn't specified using =encoding. Attached > trivial patch fixes this.
-- Mike McCauley mikem@open.com.au Open System Consultants Pty. Ltd 9 Bulbul Place Currumbin Waters QLD 4223 Australia http://www.open.com.au Phone +61 7 5598-7474 Fax +61 7 5598-7070 Radiator: the most portable, flexible and configurable RADIUS server anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald, Platypus, Freeside, TACACS+, PAM, external, Active Directory, EAP, TLS, TTLS, PEAP, TNC, WiMAX, RSA, Vasco, Yubikey, MOTP, HOTP, TOTP, DIAMETER etc. Full source on Unix, Windows, MacOSX, Solaris, VMS, NetWare etc.