Subject: | Failing test 05consumer.t/18 on AIX |
Hello,
I'm trying to set this up on an AIX 5.3.0.0 machine with Perl 5.8.8 and
gcc 4.0.1, and get an error during make test:
$ make test
PERL_DL_NONLAZY=1 /dbpar/perl/bin/perl "-MExtUtils::Command::MM" "-e"
+"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/05basic........ok 1/27
Unsupported conversion: A system call received a parameter that is not
+ valid. at /db2/dlink/.cpan/build/XML-SAX-Writer-0.44/blib/lib/XML/SA
+X/Writer.pm line 71.
# Looks like you planned 27 tests but only ran 17.
# Looks like your test died just after 17.
t/05basic........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 18-27
Failed 10/27 tests, 62.96% okay
t/10consumers....ok
Failed Test Stat Wstat Total Fail List of Failed
----------------------------------------------------------------------
+---------
t/05basic.t 255 65280 27 20 18-27
Failed 1/2 test scripts. 10/42 subtests failed.
Files=2, Tests=42, 0 wallclock secs ( 0.16 cusr + 0.01 csys = 0.17
+CPU)
Failed 1/2 test programs. 10/42 subtests failed.
make: *** [test_dynamic] Error 255
A bit of digging shows that this line:
$w1->{EncodeFrom} = 'iso-8859-1';
is the culprit
Commenting it allows all other tests (except for 18) to pass:
t/05basic........NOK 18# Failed test 'iconv converter for real encod
+ing isa Text::Iconv'
# in t/05basic.t at line 51.
# iconv converter for real encoding isn't a 'Text::Iconv' it's a '
+XML::SAX::Writer::NullConverter'
# Looks like you failed 1 test of 27.
t/05basic........dubious
Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 18
Failed 1/27 tests, 96.30% okay
t/10consumers....ok
Failed Test Stat Wstat Total Fail List of Failed
----------------------------------------------------------------------
+---------
t/05basic.t 1 256 27 1 18
I'm using Test::Iconv v1.4, and it installs without any errors during
make test.