Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
7aaec2e6
Commit
7aaec2e6
authored
Feb 05, 2010
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wininet/tests: Fix a test failure on Win2k.
parent
c7f7d198
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
ftp.c
dlls/wininet/tests/ftp.c
+8
-2
No files found.
dlls/wininet/tests/ftp.c
View file @
7aaec2e6
...
...
@@ -800,10 +800,16 @@ static void test_find_first_file(HINTERNET hFtp, HINTERNET hConnect)
SetLastError
(
0xdeadbeef
);
hSearch
=
FtpFindFirstFileA
(
hFtp
,
"welcome.msg"
,
&
findData
,
0
,
0
);
error
=
GetLastError
();
ok
(
hSearch
==
NULL
,
"Expected FtpFindFirstFileA to fail
\n
"
);
ok
(
hSearch
==
NULL
||
broken
(
hSearch
!=
NULL
),
/* win2k */
"Expected FtpFindFirstFileA to fail
\n
"
);
if
(
!
hSearch
)
ok
(
error
==
ERROR_FTP_TRANSFER_IN_PROGRESS
||
broken
(
error
==
ERROR_INTERNET_EXTENDED_ERROR
),
"Expected ERROR_FTP_TRANSFER_IN_PROGRESS, got %d
\n
"
,
error
);
InternetCloseHandle
(
hSearch
);
/* Just in case */
else
{
ok
(
error
==
ERROR_SUCCESS
,
"wrong error %u on success
\n
"
,
GetLastError
()
);
InternetCloseHandle
(
hSearch
);
}
InternetCloseHandle
(
hOpenFile
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment