Exclude crashing CreateFileW test on NT4.

This commit is contained in:
Stefan Leichter 2005-04-19 11:59:46 +00:00 committed by Alexandre Julliard
parent a4334a6b95
commit e41bd72afc
1 changed files with 2 additions and 0 deletions

View File

@ -704,10 +704,12 @@ static void test_CreateFileW(void)
ret = DeleteFileW(filename);
ok(ret, "DeleteFileW: error %ld\n", GetLastError());
#if 0 /* this test crashes on NT4.0 */
hFile = CreateFileW(NULL, GENERIC_READ, 0, NULL,
CREATE_NEW, FILE_FLAG_RANDOM_ACCESS, 0);
ok(hFile == INVALID_HANDLE_VALUE && GetLastError() == ERROR_PATH_NOT_FOUND,
"CreateFileW(NULL) returned ret=%p error=%ld\n",hFile,GetLastError());
#endif
hFile = CreateFileW(emptyW, GENERIC_READ, 0, NULL,
CREATE_NEW, FILE_FLAG_RANDOM_ACCESS, 0);