Subject: | Cannot get successful test on Crypt::Primes 0.50 |
Date: | Wed, 27 Feb 2008 18:16:42 -0500 |
To: | bug-Crypt-Primes [...] rt.cpan.org |
From: | "J.D. Baldwin" <baldwin [...] panix.com> |
With perl version:
# /opt/gnu/bin/perl -v
This is perl, v5.10.0 built for sun4-solaris
On machine:
# uname -a
SunOS mysun 5.10 Generic_120011-14 sun4u sparc SUNW,Ultra-60
I cannot get a successful test -- the test core-dumps. Here is a
transcript of my entire session from download to make to failure:
# gzcat Crypt-Primes-0.50.tar.gz | tar xf -
# cd Crypt-Primes-0.50
# ls
bin/ Changes docs/ INSTALL lib/ Makefile.PL
README t/
# /opt/gnu/bin/perl Makefile.PL
Writing Makefile for Crypt::Primes
# make
cp lib/Crypt/Primes.pm blib/lib/Crypt/Primes.pm
cp bin/largeprimes blib/script/largeprimes
/opt/gnu/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/largeprimes
Manifying blib/man1/largeprimes.1
Manifying blib/man3/Crypt::Primes.3
# make test
PERL_DL_NONLAZY=1 /opt/gnu/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/genprime.............. Failed 10/10 subtests
t/genprime_elgamal...... Failed 10/10 subtests
t/intermediates......... Failed 8/8 subtests
Test Summary Report
-------------------
t/genprime.t (Wstat: 139 Tests: 0 Failed: 0)
Parse errors: Bad plan. You planned 10 tests but ran 0.
t/genprime_elgamal.t (Wstat: 139 Tests: 0 Failed: 0)
Parse errors: Bad plan. You planned 10 tests but ran 0.
t/intermediates.t (Wstat: 139 Tests: 0 Failed: 0)
Parse errors: Bad plan. You planned 8 tests but ran 0.
Files=3, Tests=0, 6 wallclock secs ( 0.09 usr 0.04 sys + 1.01 cusr 0.82 csys = 1.96 CPU)
Result: FAIL
Failed 3/3 test programs. 0/0 subtests failed.
make: *** [test_dynamic] Error 255
# ls -l core
-rw------- 1 root root 14136023 Feb 27 18:14 core
Prerequisites are installed:
# /opt/gnu/bin/perl -MMath::Pari -MCrypt::Random -e 'print "OK\n";'
OK