[Bug 10573] New: dlls/kernel32/tests/comm. c test fails on systems with serial ports

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Nov 26 15:32:42 CST 2007


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 at winehq.org
        ReportedBy: thestig at 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/kernel32:comm.txt

the regression is caused by:

commit 539d5863e6fae78943fe59a60b151433126a9481
Author: Alexandre Julliard <julliard at 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.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list