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