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
67d0195f
Commit
67d0195f
authored
Aug 27, 2010
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mscoree/tests: Comment out a couple of tests that crash on Windows.
parent
3e9f0ca2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
4 deletions
+10
-4
mscoree.c
dlls/mscoree/tests/mscoree.c
+10
-4
No files found.
dlls/mscoree/tests/mscoree.c
View file @
67d0195f
...
...
@@ -60,8 +60,11 @@ static void test_versioninfo(void)
DWORD
size
,
path_len
;
HRESULT
hr
;
hr
=
pGetCORVersion
(
NULL
,
MAX_PATH
,
&
size
);
ok
(
hr
==
E_POINTER
,
"GetCORVersion returned %08x
\n
"
,
hr
);
if
(
0
)
/* crashes on <= w2k3 */
{
hr
=
pGetCORVersion
(
NULL
,
MAX_PATH
,
&
size
);
ok
(
hr
==
E_POINTER
,
"GetCORVersion returned %08x
\n
"
,
hr
);
}
hr
=
pGetCORVersion
(
version
,
1
,
&
size
);
ok
(
hr
==
HRESULT_FROM_WIN32
(
ERROR_INSUFFICIENT_BUFFER
),
"GetCORVersion returned %08x
\n
"
,
hr
);
...
...
@@ -81,8 +84,11 @@ static void test_versioninfo(void)
hr
=
pGetCORSystemDirectory
(
path
,
path_len
-
1
,
&
size
);
ok
(
hr
==
HRESULT_FROM_WIN32
(
ERROR_INSUFFICIENT_BUFFER
),
"GetCORSystemDirectory returned %08x
\n
"
,
hr
);
hr
=
pGetCORSystemDirectory
(
NULL
,
MAX_PATH
,
&
size
);
ok
(
hr
==
HRESULT_FROM_WIN32
(
ERROR_INSUFFICIENT_BUFFER
),
"GetCORSystemDirectory returned %08x
\n
"
,
hr
);
if
(
0
)
/* crashes on <= w2k3 */
{
hr
=
pGetCORSystemDirectory
(
NULL
,
MAX_PATH
,
&
size
);
ok
(
hr
==
HRESULT_FROM_WIN32
(
ERROR_INSUFFICIENT_BUFFER
),
"GetCORSystemDirectory returned %08x
\n
"
,
hr
);
}
hr
=
pGetCORSystemDirectory
(
path
,
MAX_PATH
,
NULL
);
ok
(
hr
==
E_POINTER
,
"GetCORSystemDirectory returned %08x
\n
"
,
hr
);
...
...
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