Subject: | Tests fail on freebsd 10 |
On a FreeBSD 10.3 system I see the following test failures:
...
# Failed test ''t/oo.t@219: /usr/local/lib/softhsm/libsofthsm2.so GetSlotInfo' isa 'HASH''
# at t/oo.t line 25.
# 't/oo.t@219: /usr/local/lib/softhsm/libsofthsm2.so GetSlotInfo' isn't defined
# Failed test ''t/oo.t@222: /usr/local/lib/softhsm/libsofthsm2.so GetTokenInfo' isa 'HASH''
# at t/oo.t line 25.
# 't/oo.t@222: /usr/local/lib/softhsm/libsofthsm2.so GetTokenInfo' isn't defined
# Failed test ''t/oo.t@225: /usr/local/lib/softhsm/libsofthsm2.so GetMechanismList' isa 'ARRAY''
# at t/oo.t line 25.
# 't/oo.t@225: /usr/local/lib/softhsm/libsofthsm2.so GetMechanismList' isn't defined
$mechanismType must be defined at /home/cpansand/.cpan/build/2017072906/Crypt-PKCS11-1.03-VUlHeC/blib/lib/Crypt/PKCS11.pm line 1747.
Crypt::PKCS11::GetMechanismInfo(Crypt::PKCS11=HASH(0x42aea918), 0, undef) called at t/oo.t line 228
main::mytests() called at t/oo.t line 255
# Tests were run but no plan was declared and done_testing() was not seen.
# Looks like your test exited with 22 just after 57.
t/oo.t ............
Dubious, test returned 22 (wstat 5632, 0x1600)
Failed 3/57 subtests
CKR_SLOT_ID_INVALID: Slot 0 does not exist.
Died at t/pkcs11.t line 977.
# Tests were run but no plan was declared and done_testing() was not seen.
# Looks like your test exited with 2 just after 1.
t/pkcs11.t ........
Dubious, test returned 2 (wstat 512, 0x200)
All 1 subtests passed
...
On a freebsd 9.2 system tests pass.