KERNEL32: Fix comm tests on Win9x

Felix Nawothnig felix.nawothnig at t-online.de
Sat Jul 30 08:28:37 CDT 2005


ChangeLog:
Remove faulty (and failing) test
-------------- next part --------------
Index: dlls/kernel/tests/comm.c
===================================================================
RCS file: /home/wine/wine/dlls/kernel/tests/comm.c,v
retrieving revision 1.5
diff -u -r1.5 comm.c
--- dlls/kernel/tests/comm.c	27 Jun 2005 19:49:07 -0000	1.5
+++ dlls/kernel/tests/comm.c	30 Jul 2005 13:26:47 -0000
@@ -716,8 +716,7 @@
     res = ReadFile(hcom, rbuf, sizeof(rbuf), &read, NULL);
     LastError = GetLastError();
     after = GetTickCount();
-    todo_wine ok( res == TRUE, "A timed-out read should return TRUE\n");
-    todo_wine ok( LastError == NO_ERROR, "A timed-out read is not an error\n");
+    todo_wine ok( res == TRUE, "err=%ld\n", LastError);
     timediff = after - before;
     ok( timediff > TIMEOUT>>2 && timediff < TIMEOUT *2,
 	"Unexpected TimeOut %ld, expected %d\n", timediff, TIMEOUT);


More information about the wine-patches mailing list