Subject: | test failure |
[guillomovitch@n2 Crypt-Random-Source-0.07]$ prove -b t/sugar.t
t/sugar.t .. 1/?
# Failed test 'use Crypt::Random::Source;'
# at t/sugar.t line 8.
# Tried to use 'Crypt::Random::Source'.
# Error: Undefined subroutine &Crypt::Random::Source::Factory::has
called at
/home/guillomovitch/cooker/perl-Crypt-Random-Source/BUILD/Crypt-Random-Source-0.07/blib/lib/Crypt/Random/Source/Factory.pm
line 40.
# Compilation failed in require at
/home/guillomovitch/cooker/perl-Crypt-Random-Source/BUILD/Crypt-Random-Source-0.07/blib/lib/Crypt/Random/Source.pm
line 22.
# BEGIN failed--compilation aborted at
/home/guillomovitch/cooker/perl-Crypt-Random-Source/BUILD/Crypt-Random-Source-0.07/blib/lib/Crypt/Random/Source.pm
line 22.
# Compilation failed in require at (eval 4) line 2.
# BEGIN failed--compilation aborted at (eval 4) line 2.
Name "Crypt::Random::Source::weak" used only once: possible typo at
t/sugar.t line 15.
Name "Crypt::Random::Source::strong" used only once: possible typo at
t/sugar.t line 17.
# Failed test 'get_weak'
# at t/sugar.t line 10.
# Failed test 'get_strong'
# at t/sugar.t line 11.
Undefined subroutine &main::get_weak called at t/sugar.t line 13.
# Looks like you failed 3 tests of 3.
# Looks like your test exited with 255 just after 3.
t/sugar.t .. Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 3/3 subtests
Test Summary Report
-------------------
t/sugar.t (Wstat: 65280 Tests: 3 Failed: 3)
Failed tests: 1-3
Non-zero exit status: 255
Files=1, Tests=3, 1 wallclock secs ( 0.03 usr 0.03 sys + 0.18 cusr
0.03 csys = 0.27 CPU)
Result: FAIL
This happens on Linux, with perl 5.12.2