Skip Menu |

This queue is for tickets about the File-LibMagic CPAN distribution.

Report information
The Basics
Id: 39383
Status: resolved
Priority: 0/
Queue: File-LibMagic

People
Owner: Nobody in particular
Requestors: REHSACK [...] cpan.org
Cc: rehsack [...] web.de
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.89
Fixed in: (no value)



CC: rehsack [...] web.de
oo-test fail because invalid magic.mime is used for file>=4.24: t/6-oo.................NOK 2 # Failed test 'MIME t/samples/foo.c' # at t/6-oo.t line 27. # got: 'text/x-c' # expected: 'text/x-c charset=us-ascii' t/6-oo.................NOK 4 # Failed test 'MIME data t/samples/foo.c' # at t/6-oo.t line 36. # got: 'text/x-c' # expected: 'text/x-c charset=us-ascii' t/6-oo.................NOK 6 # Failed test 'MIME t/samples/foo.foo' # at t/6-oo.t line 27. # got: 'text/plain' # expected: 'text/plain charset=us-ascii' t/6-oo.................NOK 8 # Failed test 'MIME data t/samples/foo.foo' # at t/6-oo.t line 36. # got: 'text/plain' # expected: 'text/plain charset=us-ascii' t/6-oo.................NOK 11 # Failed test 'MIME t/samples/foo.c' # at t/6-oo.t line 48. # got: 'text/x-c' # expected: 'text/x-c charset=us-ascii' t/6-oo.................NOK 13 # Failed test 'MIME data t/samples/foo.c' # at t/6-oo.t line 57. # got: 'text/x-c' # expected: 'text/x-c charset=us-ascii' t/6-oo.................NOK 15 # Failed test 'MIME t/samples/foo.foo' # at t/6-oo.t line 48. # got: 'text/plain' # expected: 'text/plain charset=us-ascii' t/6-oo.................NOK 17 # Failed test 'MIME data t/samples/foo.foo' # at t/6-oo.t line 57. # got: 'text/plain' # expected: 'text/plain charset=us-ascii' # Looks like you failed 8 tests of 20. t/6-oo.................dubious A look into file-4.21 .. 4.26 sources shows, that with 4.24 magic.mime is not distributed anymore - because: 2007-02-04 11:31 Christos Zoulas <christos@astron.com> * !:mime annotations in magic files (Reuben Thomas) It seems only the tests with own magic.mime fail, but a check would be great ...
I check it today with file-4.26 and the test seem to work again without doing anything.
My test was with file 4.26 - using AIX 5.3 TL8 and RHEL 4.5, same results. Are you sure you tested with pure file-4.26 or did you test with the file preinstalled on some linux-distribution, which may contain additional patches?
ok, since at least 0.94