Subject: | fails tests on 5.10.0 |
Two of the tests in Data-Structure-Util fail in perl 5.10.0. I was able
to fix the utf8 test by adding "use bytes;" (patch attached), but I'm
not really sure why the signature test fails:
bash-3.2# ./Build test
t/00pod.............ok
t/01compile.........ok
t/02circular........ok
t/02circular_off....ok
t/03bless...........ok
t/04utf8............ok
t/05refs............ok
t/06signature.......ok 1/16
# Failed test 'Signature 3'
# at t/06signature.t line 37.
# got: 'a2e45a2e2abc2c4ed30751a3a5c88611'
# expected: '0e2a48ba8941d0c1bf31939df91c5e37'
t/06signature.......NOK 6/16# Looks like you failed 1 test of 16.
t/06signature.......dubious
Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 6
Failed 1/16 tests, 93.75% okay
Failed Test Stat Wstat Total Fail List of Failed
-------------------------------------------------------------------------------
t/06signature.t 1 256 16 1 6
Failed 1/8 test scripts. 1/135 subtests failed.
Files=8, Tests=135, 1 wallclock secs ( 0.46 cusr + 0.28 csys = 0.74 CPU)
Failed 1/8 test programs. 1/135 subtests failed.
Subject: | perl-Data-Structure-Util-0.12-utf8testfix.patch |
diff -up Data-Structure-Util-0.12/t/06signature.t.BAD Data-Structure-Util-0.12/t/06signature.t
diff -up Data-Structure-Util-0.12/t/04utf8.t.BAD Data-Structure-Util-0.12/t/04utf8.t
--- Data-Structure-Util-0.12/t/04utf8.t.BAD 2008-03-06 10:30:22.000000000 -0500
+++ Data-Structure-Util-0.12/t/04utf8.t 2008-03-06 10:30:28.000000000 -0500
@@ -3,6 +3,7 @@
use blib;
use strict;
use warnings;
+use bytes;
use Data::Dumper;
use Clone qw(clone);