Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

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

Report information
The Basics
Id: 36150
Status: resolved
Priority: 0/
Queue: Test-File

People
Owner: Nobody in particular
Requestors: grousse [...] cpan.org
Cc:
AdminCc:

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



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
From: bdfoy [...] cpan.org
This looks like a test ordering problem. I've uploaded 1.24_01 to see if I've fixed that. Thanks,
From: grousse [...] cpan.org
On Sat May 24 07:33:46 2008, BDFOY wrote: Show quoted text
> This looks like a test ordering problem. I've uploaded 1.24_01 to see > if I've fixed that.
Indeed, 1.24_02 fix the issue, thanks.