Fix test on NT 4.

This commit is contained in:
Jacek Caban 2005-06-27 09:49:26 +00:00 committed by Alexandre Julliard
parent cf2b9f093d
commit 6cb97534dc
1 changed files with 2 additions and 1 deletions

View File

@ -766,7 +766,8 @@ static void test_DeleteFileA( void )
ret = DeleteFileA("nul"); ret = DeleteFileA("nul");
ok(!ret && (GetLastError() == ERROR_FILE_NOT_FOUND || ok(!ret && (GetLastError() == ERROR_FILE_NOT_FOUND ||
GetLastError() == ERROR_INVALID_PARAMETER || GetLastError() == ERROR_INVALID_PARAMETER ||
GetLastError() == ERROR_ACCESS_DENIED), GetLastError() == ERROR_ACCESS_DENIED ||
GetLastError() == ERROR_INVALID_FUNCTION),
"DeleteFileA(\"nul\") returned ret=%d error=%ld\n",ret,GetLastError()); "DeleteFileA(\"nul\") returned ret=%d error=%ld\n",ret,GetLastError());
} }