Skip to content

0.82: self test failure #23

@0-wiz-0

Description

@0-wiz-0

When running the self tests for 0.82 from CPAN with perl-5.28 on NetBSD and TEST_SIGNATURE=1 in the environment, I see the following errors:

PERL_DL_NONLAZY=1 "/usr/pkg/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t
t/0-signature.t .. Error verifying signature: Message hash does not match signature checkbytes
# Looks like your test exited with -1 before it could output anything.
t/0-signature.t .. Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 1/1 subtests 
t/1-basic.t ...... ok   
t/2-cygwin.t ..... skipped: Cygwin only tests
t/3-verify.t ..... 5/6  
#   Failed test 'dir[t/test-datmix-signew]system[/usr/pkg/bin/perl -I../../lib/ ../../script/cpansign -v]ret[65280]out[]err[Error verifying signature: Message hash does not match signature checkbytes
# ]diff[]'
#   at t/3-verify.t line 20.

#   Failed test 'dir[t/test-datmix-sigold]system[/usr/pkg/bin/perl -I../../lib/ ../../script/cpansign -v]ret[65280]out[]err[Old SIGNATURE detected. Please inform the module author to regenerate SIGNATURE using Module::Signature version 0.82 or newer.
# Error verifying signature: Message hash does not match signature checkbytes
# ]diff[]'
#   at t/3-verify.t line 20.
# Looks like you failed 2 tests of 6.
t/3-verify.t ..... Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/6 subtests 

Test Summary Report
-------------------
t/0-signature.t (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 1 tests but ran 0.
t/3-verify.t   (Wstat: 512 Tests: 6 Failed: 2)
  Failed tests:  5-6
  Non-zero exit status: 2
Files=4, Tests=8, 15 wallclock secs ( 0.03 usr  0.00 sys +  4.17 cusr  0.50 csys =  4.70 CPU)
Result: FAIL
Failed 2/4 test programs. 2/8 subtests failed.
*** Error code 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions