http://bugs.winehq.org/show_bug.cgi?id=10573
Summary: dlls/kernel32/tests/comm.c test fails on systems with serial ports Product: Wine Version: CVS/GIT Platform: PC OS/Version: Linux Status: NEW Keywords: regression Severity: minor Priority: P2 Component: wine-kernel AssignedTo: wine-bugs@winehq.org ReportedBy: thestig@google.com
I only noticed this after enabling the serial port on my laptop...
for dll/kernel32/tests/comm.c, I get the following errors:
comm.c:677:Found Com port COM1. Connected devices may disturbe results comm.c:705:GetCommModemStatus returned 0x00000000-> comm.c:739: Test failed: A timed-out read should return TRUE comm.c:740: Test failed: err=109 comm.c:742: Test failed: Unexpected TimeOut 0, expected 1000
For many people, this test gets skipped, ie:
http://test.winehq.org/data/200711221000/wine_2000_0.9.49-331-g7a8eb4c/kerne...
the regression is caused by:
commit 539d5863e6fae78943fe59a60b151433126a9481 Author: Alexandre Julliard julliard@winehq.org Date: Fri Apr 6 16:05:53 2007 +0200
ntdll: Reimplement NtReadFile.
Always try a read() before queuing an async I/O. Handle timeout waits for synchronous I/O entirely on the client side. Queue the final APC as a proper user APC.