Nikolay Sivov <nsi...@codeweavers.com> wrote: > > --- a/dlls/ntdll/tests/file.c > > +++ b/dlls/ntdll/tests/file.c > > @@ -1985,6 +1985,22 @@ static void test_read_write(void) > > > > bytes = 0xdeadbeef; > > SetLastError(0xdeadbeef); > > + ret = ReadFile(INVALID_HANDLE_VALUE, buf, 0,&bytes, NULL); > > +todo_wine > > + ok(!ret, "ReadFile should fail\n"); > > +todo_wine > > + ok(GetLastError() == ERROR_INVALID_HANDLE, "expected > > ERROR_INVALID_HANDLE, got %d\n", GetLastError()); > > + ok(bytes == 0, "bytes %u\n", bytes); > > > That's again a test for kernel32 calls, placed in a wrong file.
Please actually look at the tests before commenting. -- Dmitry.