Subject: | FileHandle.t hangs on Windows |
1..21
ok 1 - use Prty::FileHandle;
ok 2 - Testdaten
ok 3 - new: Test auf Klasse
ok 4 - new: in-memory File
ok 5 - new: in-memory File über geblesste Referenz
ok 6 - destroy: Test auf Klasse
ok 7 - destroy: Datei geschlossen
ok 8 - destroy: Schließen einer geschlossenen Handle
ok 9 - getc: erstes Zeichen
not ok 10 - Exception:
# PATH-00002: Datei löschen fehlgeschlagen
# Path:
# /tmp/getc.tst
# Stacktrace:
# Prty::Test::Class::runTests() [+240 t/bin/Prty/FileHandle.t]
# (eval) [+568 C:\strawberry160\cpan\build\Prty-1.113-uFBPAZ\blib\lib/Prty/Test/Class.pm]
# Prty::FileHandle::Test::test_getc() [+568 C:\strawberry160\cpan\build\Prty-1.113-uFBPAZ\blib\lib/Prty/Test/Class.pm]
# Prty::Path::delete() [+108 t/bin/Prty/FileHandle.t]
# Prty::Object::throw() [+1248 C:\strawberry160\cpan\build\Prty-1.113-uFBPAZ\blib\lib/Prty/Path.pm]
# Prty::Stacktrace::asString() [+252 C:\strawberry160\cpan\build\Prty-1.113-uFBPAZ\blib\lib/Prty/Object.pm]
#
# Failed test 'Exception:
# PATH-00002: Datei löschen fehlgeschlagen
# Path:
# /tmp/getc.tst
# Stacktrace:
# Prty::Test::Class::runTests() [+240 t/bin/Prty/FileHandle.t]
# (eval) [+568 C:\strawberry160\cpan\build\Prty-1.113-uFBPAZ\blib\lib/Prty/Test/Class.pm]
# Prty::FileHandle::Test::test_getc() [+568 C:\strawberry160\cpan\build\Prty-1.113-uFBPAZ\blib\lib/Prty/Test/Class.pm]
# Prty::Path::delete() [+108 t/bin/Prty/FileHandle.t]
# Prty::Object::throw() [+1248 C:\strawberry160\cpan\build\Prty-1.113-uFBPAZ\blib\lib/Prty/Path.pm]
# Prty::Stacktrace::asString() [+252 C:\strawberry160\cpan\build\Prty-1.113-uFBPAZ\blib\lib/Prty/Object.pm]
# '
# at t/bin/Prty/FileHandle.t line 240.
ok 11 - print: Daten geschrieben
ok 12 - print: Dateiinhalt
not ok 13 - seek
# Failed test 'seek'
# at t/bin/Prty/FileHandle.t line 145.
# got: '
# '
# expected: 'Zeile2
# '
not ok 14 - Exception:
# PATH-00002: Datei löschen fehlgeschlagen
# Path:
# /tmp/seek.tst
# Stacktrace:
# Prty::Test::Class::runTests() [+240 t/bin/Prty/FileHandle.t]
# (eval) [+568 C:\strawberry160\cpan\build\Prty-1.113-uFBPAZ\blib\lib/Prty/Test/Class.pm]
# Prty::FileHandle::Test::test_seek() [+568 C:\strawberry160\cpan\build\Prty-1.113-uFBPAZ\blib\lib/Prty/Test/Class.pm]
# Prty::Path::delete() [+148 t/bin/Prty/FileHandle.t]
# Prty::Object::throw() [+1248 C:\strawberry160\cpan\build\Prty-1.113-uFBPAZ\blib\lib/Prty/Path.pm]
# Prty::Stacktrace::asString() [+252 C:\strawberry160\cpan\build\Prty-1.113-uFBPAZ\blib\lib/Prty/Object.pm]
#
# Failed test 'Exception:
# PATH-00002: Datei löschen fehlgeschlagen
# Path:
# /tmp/seek.tst
# Stacktrace:
# Prty::Test::Class::runTests() [+240 t/bin/Prty/FileHandle.t]
# (eval) [+568 C:\strawberry160\cpan\build\Prty-1.113-uFBPAZ\blib\lib/Prty/Test/Class.pm]
# Prty::FileHandle::Test::test_seek() [+568 C:\strawberry160\cpan\build\Prty-1.113-uFBPAZ\blib\lib/Prty/Test/Class.pm]
# Prty::Path::delete() [+148 t/bin/Prty/FileHandle.t]
# Prty::Object::throw() [+1248 C:\strawberry160\cpan\build\Prty-1.113-uFBPAZ\blib\lib/Prty/Path.pm]
# Prty::Stacktrace::asString() [+252 C:\strawberry160\cpan\build\Prty-1.113-uFBPAZ\blib\lib/Prty/Object.pm]
# '
# at t/bin/Prty/FileHandle.t line 240.
not ok 15 - tell
# Failed test 'tell'
# at t/bin/Prty/FileHandle.t line 166.
# got: '8'
# expected: '7'
ok 16 - lock: shared lock
ok 17 - lock: shared lock, non-blocking
(hangs)
--
Alexandr Ciornii, http://chorny.net