Subject: | test failure via 'make test' |
make test fails for test_files.t:
t/test_files......ok 1/36
# Failed test at t/test_files.t line 61.
t/test_files......NOK 13/36# STDOUT is:
# not ok 1 - min_file line count is 2 lines
#
# not:
# ok 1 - min_file line count is 2 lines
#
# as expected
# STDERR is:
# # Could not open [min_file]: $! is [Permission denied]
# # Failed test 'min_file line count is 2 lines'
# # at t/test_files.t line 60.
#
# not:
#
# as expected
# Failed test at t/test_files.t line 71.
t/test_files......NOK 14/36# STDERR is:
# # Could not open [min_file]: $! is [Permission denied]
# # Failed test 'min_file line count is 3 lines'
# # at t/test_files.t line 70.
#
# not:
# # Expected [3] lines in [min_file], got [2] lines
# # Failed test 'min_file line count is 3 lines'
# # at t/test_files.t line 70.
#
# as expected
# Failed test at t/test_files.t line 75.
t/test_files......NOK 15/36# STDOUT is:
# not ok 1 - min_file line count is not 3 lines
#
# not:
# ok 1 - min_file line count is not 3 lines
#
# as expected
# STDERR is:
# # Could not open [min_file]: $! is [Permission denied]
# # Failed test 'min_file line count is not 3 lines'
# # at t/test_files.t line 74.
#
# not:
#
# as expected
# Failed test at t/test_files.t line 85.
t/test_files......NOK 16/36# STDERR is:
# # Could not open [min_file]: $! is [Permission denied]
# # Failed test 'min_file line count is not 2 lines'
# # at t/test_files.t line 84.
#
# not:
# # Expected something other than [2] lines in [min_file], but got [2] lines
# # Failed test 'min_file line count is not 2 lines'
# # at t/test_files.t line 84.
#
# as expected
# Failed test at t/test_files.t line 89.
# STDOUT is:
# not ok 1 - min_file line count is between [1] and [3] lines
#
# not:
# ok 1 - min_file line count is between [1] and [3] lines
#
# as expected
t/test_files......NOK 17/36# STDERR is:
# # Could not open [min_file]: $! is [Permission denied]
# # Failed test 'min_file line count is between [1] and [3] lines'
# # at t/test_files.t line 88.
#
# not:
#
# as expected
# Failed test at t/test_files.t line 93.
t/test_files......NOK 18/36# STDOUT is:
# not ok 1 - min_file line count is between [2] and [3] lines
#
# not:
# ok 1 - min_file line count is between [2] and [3] lines
#
# as expected
# STDERR is:
# # Could not open [min_file]: $! is [Permission denied]
# # Failed test 'min_file line count is between [2] and [3] lines'
# # at t/test_files.t line 92.
#
# not:
#
# as expected
# Failed test at t/test_files.t line 97.
t/test_files......NOK 19/36# STDOUT is:
# not ok 1 - min_file line count is between [2] and [2] lines
#
# not:
# ok 1 - min_file line count is between [2] and [2] lines
#
# as expected
# STDERR is:
# # Could not open [min_file]: $! is [Permission denied]
# # Failed test 'min_file line count is between [2] and [2] lines'
# # at t/test_files.t line 96.
#
# not:
#
# as expected
# Failed test at t/test_files.t line 107.
t/test_files......NOK 20/36# STDERR is:
# # Could not open [min_file]: $! is [Permission denied]
# # Failed test 'min_file line count is between [3] and [4] lines'
# # at t/test_files.t line 106.
#
# not:
# # Expected a line count between [3] and [4] in [min_file], but got [2]
lines
# # Failed test 'min_file line count is between [3] and [4] lines'
# # at t/test_files.t line 106.
#
# as expected
t/test_files......FAILED tests 13-20
Quite strangely, perl -I blib/lib t/test_files.t works perfectly...
This happens with perl 5.10 on mandriva linux 2008.1