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
49ff2be0
Commit
49ff2be0
authored
Apr 08, 2009
by
Detlef Riekenberg
Committed by
Alexandre Julliard
Apr 09, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wintrust/tests: Fix some tests on win9x.
parent
bc22a893
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
crypt.c
dlls/wintrust/tests/crypt.c
+9
-3
No files found.
dlls/wintrust/tests/crypt.c
View file @
49ff2be0
...
...
@@ -854,7 +854,9 @@ static void test_cdf_parsing(void)
catcdf
=
pCryptCATCDFOpen
(
cdffileW
,
cdf_callback
);
ok
(
catcdf
==
NULL
,
"CryptCATCDFOpen succeeded
\n
"
);
todo_wine
ok
(
GetLastError
()
==
ERROR_SHARING_VIOLATION
,
"Expected ERROR_SHARING_VIOLATION, got %d
\n
"
,
GetLastError
());
ok
(
GetLastError
()
==
ERROR_SHARING_VIOLATION
||
broken
(
GetLastError
()
==
ERROR_SUCCESS
),
/* win9x */
"Expected ERROR_SHARING_VIOLATION, got %d
\n
"
,
GetLastError
());
DeleteFileA
(
cdffileA
);
/* Header and member only */
...
...
@@ -868,7 +870,9 @@ static void test_cdf_parsing(void)
catcdf
=
pCryptCATCDFOpen
(
cdffileW
,
cdf_callback
);
ok
(
catcdf
==
NULL
,
"CryptCATCDFOpen succeeded
\n
"
);
todo_wine
ok
(
GetLastError
()
==
ERROR_SHARING_VIOLATION
,
"Expected ERROR_SHARING_VIOLATION, got %d
\n
"
,
GetLastError
());
ok
(
GetLastError
()
==
ERROR_SHARING_VIOLATION
||
broken
(
GetLastError
()
==
ERROR_SUCCESS
),
/* win9x */
"Expected ERROR_SHARING_VIOLATION, got %d
\n
"
,
GetLastError
());
DeleteFileA
(
cdffileA
);
ok
(
!
DeleteFileA
(
catfileA
),
"Didn't expect a catalog file to be created
\n
"
);
...
...
@@ -882,7 +886,9 @@ static void test_cdf_parsing(void)
catcdf
=
pCryptCATCDFOpen
(
cdffileW
,
cdf_callback
);
ok
(
catcdf
==
NULL
,
"CryptCATCDFOpen succeeded
\n
"
);
todo_wine
ok
(
GetLastError
()
==
ERROR_SHARING_VIOLATION
,
"Expected ERROR_SHARING_VIOLATION, got %d
\n
"
,
GetLastError
());
ok
(
GetLastError
()
==
ERROR_SHARING_VIOLATION
||
broken
(
GetLastError
()
==
ERROR_SUCCESS
),
/* win9x */
"Expected ERROR_SHARING_VIOLATION, got %d
\n
"
,
GetLastError
());
DeleteFileA
(
cdffileA
);
ok
(
!
DeleteFileA
(
catfileA
),
"Didn't expect a catalog file to be created
\n
"
);
...
...
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