Subject: | Some oo-api.t tests fail on Mac OS X |
With libmagic 5.32 from homebrew installed I get a number of test failures:
...
# Failed test 'checktype_filename t/samples/foo.c'
# at t/oo-api.t line 138.
# 'text/plain; charset=us-ascii'
# doesn't match '(?-xism:text/x-c(?:; charset=us-ascii)?)'
# Failed test 'describe_filename t/samples/foo.c'
# at t/oo-api.t line 121.
# got: ASCII text
# expected: any one of ...
# ASCII C program text
# C source, ASCII text
# c program, ASCII text
# Failed test 'checktype_contents t/samples/foo.c'
# at t/oo-api.t line 154.
# 'text/plain; charset=us-ascii'
# doesn't match '(?-xism:text/x-c(?:; charset=us-ascii)?)'
# Failed test 'checktype_contents t/samples/foo.c as ref'
# at t/oo-api.t line 160.
# 'text/plain; charset=us-ascii'
# doesn't match '(?-xism:text/x-c(?:; charset=us-ascii)?)'
(etc., more similar failures following)
A number of fail reports will appear on http://matrix.cpantesters.org/?dist=File-LibMagic%201.16 in the next hours.