18 Jul
2010
18 Jul
'10
2:39 p.m.
Austin English wrote:
Passed all the vm's on wtb.
------------------------------------------------------------------------
+ hFile = CreateFileA("c:\\*.*", GENERIC_READ,FILE_SHARE_READ,NULL,OPEN_EXISTING,FILE_ATTRIBUTE_NORMAL,NULL ); + ok(GetLastError() == ERROR_INVALID_NAME || broken(GetLastError() == ERROR_FILE_NOT_FOUND) || broken(GetLastError() == ERROR_PATH_NOT_FOUND), + "CreateFileA should have returned ERROR_INVALID_NAME on %s, but got %u\n", filename, GetLastError()); + CloseHandle( hFile ); Nice negative test, but how about one that should pass? James McKenzie