wininet/tests: Fix a test failure on some Win98 boxes.

This commit is contained in:
Paul Vriens 2008-11-10 19:18:14 +01:00 committed by Alexandre Julliard
parent ed364027e7
commit e7da58468b
1 changed files with 3 additions and 1 deletions

View File

@ -385,7 +385,9 @@ static void test_openfile(HINTERNET hFtp, HINTERNET hConnect)
SetLastError(0xdeadbeef);
hOpenFile = FtpOpenFileA(hFtp, "welcome.msg", GENERIC_READ, FTP_TRANSFER_TYPE_ASCII, 0);
ok ( hOpenFile != NULL, "Expected FtpOpenFileA to succeed\n");
ok ( GetLastError() == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %u\n", GetLastError());
ok ( GetLastError() == ERROR_SUCCESS ||
broken(GetLastError() == ERROR_FILE_NOT_FOUND), /* Win98 */
"Expected ERROR_SUCCESS, got %u\n", GetLastError());
if (hOpenFile)
{