Subject: | tests hang on Windows |
Strawberry perl 5.12.3 and 5.10.1. Tests fail, but do not hang on >= 5.14.
1..17
ok 1 - use File::Tail::Dir;
not ok 2 - character count, initial run
# Failed test 'character count, initial run'
# at t\tail.t line 130.
# got: '13991'
# expected: '69955'
not ok 3 - line_count, initial run
# Failed test 'line_count, initial run'
# at t\tail.t line 131.
# got: '29'
# expected: '145'
# Checksummed 29 lines, 0 failures
ok 4 - checksums, initial run
not ok 5 - character count, subsequent run
# Failed test 'character count, subsequent run'
# at t\tail.t line 130.
# got: '125919'
# expected: '139910'
not ok 6 - line_count, subsequent run
# Failed test 'line_count, subsequent run'
# at t\tail.t line 131.
# got: '261'
# expected: '290'
# Checksummed 261 lines, 0 failures
ok 7 - checksums, subsequent run
ok 8 - character count, no_state run
ok 9 - line_count, no_state run
# Checksummed 290 lines, 0 failures
ok 10 - checksums, no_state run
ok 11 - character count, no_init run
ok 12 - line_count, no_init run
# Checksummed 290 lines, 0 failures
ok 13 - checksums, no_init run
not ok 14 - state file automatically updated
# Failed test 'state file automatically updated'
# at t\tail.t line 110.
Test timed out at t\tail.t line 207.
cannot unlink file for C:\DOCUME~1\c\LOCALS~1\Temp\EoOczH4ZVk\output.txt: Permission denied at C:/strawberry/perl/lib/File/Temp.pm line 902.
cannot remove directory for C:\DOCUME~1\c\LOCALS~1\Temp\EoOczH4ZVk: Directory not empty at C:/strawberry/perl/lib/File/Temp.pm line 902.
# Looks like you planned 17 tests but ran 14.
# Looks like you failed 5 tests of 14 run.
(hangs)
--
Alexandr Ciornii, http://chorny.net