Wolfgang Walter <w...@stwm.de> wrote: > > > + if (res || (!res && GetLastError() == ERROR_IO_PENDING)) > > > + /* if data has been sent: wait for termination */ > > > + Sleep(timeout); > > > > I don't see such a problem with real COM-port and serial-USB cable > > under Windows or Linux here and under testbot VMs. > > Wine does that here (vanilla). I added this so that the NEXT test does not > depend what wine exactly does.
When Wine behaviour differs from Windows one the test results need to be marked as todo_wine, and such places already have it. -- Dmitry.