Subject: | Installation Error - The test fails to understand output |
Date: | Sat, 28 Jun 2008 13:11:06 +0200 |
To: | bug-File-LibMagic [...] rt.cpan.org |
From: | Ambrogio De Lorenzo <ambrogio.de.lorenzo [...] alice.it> |
Hi,
I'm using:
Fedora 8 with file-devel.x86_64 vers. 4.21-5.fc8
Perl version v5.8.8 built for x86_64-linux-thread-multi
The error in test are:
make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/1....................ok
t/2-easy...............ok
t/3-complete-errors....ok
t/3-complete...........ok
t/4-all................ok
t/6-oo.................1/20
# Failed test 'MIME t/samples/foo.c'
# at t/6-oo.t line 27.
# got: 'text/x-c; charset=us-ascii'
# expected: 'text/x-c charset=us-ascii'
# Failed test 'MIME data t/samples/foo.c'
# at t/6-oo.t line 36.
# got: 'text/x-c; charset=us-ascii'
# expected: 'text/x-c charset=us-ascii'
# Failed test 'MIME t/samples/foo.foo'
# at t/6-oo.t line 27.
# got: 'text/plain; charset=us-ascii'
# expected: 'text/plain charset=us-ascii'
# Failed test 'MIME data t/samples/foo.foo'
# at t/6-oo.t line 36.
# got: 'text/plain; charset=us-ascii'
# expected: 'text/plain charset=us-ascii'
# Failed test 'MIME t/samples/foo.c'
# at t/6-oo.t line 48.
# got: 'text/x-c; charset=us-ascii'
# expected: 'text/x-c charset=us-ascii'
# Failed test 'MIME data t/samples/foo.c'
# at t/6-oo.t line 57.
# got: 'text/x-c; charset=us-ascii'
# expected: 'text/x-c charset=us-ascii'
# Failed test 'MIME t/samples/foo.foo'
# at t/6-oo.t line 48.
# got: 'text/x-foo'
# expected: 'text/plain charset=us-ascii'
# Failed test 'MIME data t/samples/foo.foo'
# at t/6-oo.t line 57.
# got: 'text/x-foo'
# expected: 'text/plain charset=us-ascii'
# Looks like you failed 8 tests of 20.
t/6-oo................. Dubious, test returned 8 (wstat 2048, 0x800)
Failed 8/20 subtests
Test Summary Report
-------------------
t/2-easy (Wstat: 0 Tests: 6 Failed: 0)
TODO passed: 6
t/3-complete-errors (Wstat: 0 Tests: 7 Failed: 0)
TODO passed: 6
t/6-oo (Wstat: 2048 Tests: 20 Failed: 8)
Failed tests: 2, 4, 6, 8, 11, 13, 15, 17
Non-zero exit status: 8
Files=6, Tests=55, 0 wallclock secs ( 0.04 usr 0.01 sys + 0.21 cusr 0.06 csys = 0.32 CPU)
Result: FAIL
Failed 1/6 test programs. 8/55 subtests failed.
make: *** [test_dynamic] Error 8
I think it's a little bug in check for expected results, and I think it
may depends on the file version installed.
What can I do to solve this little problem?
I will try to install with force.
Bye
Ambrogio