Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
d40233a4
Commit
d40233a4
authored
Jun 23, 2007
by
Paul Vriens
Committed by
Alexandre Julliard
Jun 25, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32/tests: Don't crash (on Vista).
parent
71054631
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
loader.c
dlls/kernel32/tests/loader.c
+8
-0
No files found.
dlls/kernel32/tests/loader.c
View file @
d40233a4
...
@@ -328,6 +328,13 @@ START_TEST(loader)
...
@@ -328,6 +328,13 @@ START_TEST(loader)
ok
(
hlib
!=
0
,
"%d: LoadLibrary error %d
\n
"
,
i
,
GetLastError
());
ok
(
hlib
!=
0
,
"%d: LoadLibrary error %d
\n
"
,
i
,
GetLastError
());
/* No point in crashing. Test crashes on Vista with some of the given files */
if
(
hlib
==
0
)
{
skip
(
"Failed to load dll number %d
\n
"
,
i
);
goto
endloop
;
}
SetLastError
(
0xdeadbeef
);
SetLastError
(
0xdeadbeef
);
ok
(
VirtualQuery
(
hlib
,
&
info
,
sizeof
(
info
))
==
sizeof
(
info
),
ok
(
VirtualQuery
(
hlib
,
&
info
,
sizeof
(
info
))
==
sizeof
(
info
),
"%d: VirtualQuery error %d
\n
"
,
i
,
GetLastError
());
"%d: VirtualQuery error %d
\n
"
,
i
,
GetLastError
());
...
@@ -467,6 +474,7 @@ START_TEST(loader)
...
@@ -467,6 +474,7 @@ START_TEST(loader)
i
,
td
[
i
].
error
,
GetLastError
());
i
,
td
[
i
].
error
,
GetLastError
());
}
}
endloop
:
SetLastError
(
0xdeadbeef
);
SetLastError
(
0xdeadbeef
);
ok
(
DeleteFile
(
dll_name
),
"DeleteFile error %d
\n
"
,
GetLastError
());
ok
(
DeleteFile
(
dll_name
),
"DeleteFile error %d
\n
"
,
GetLastError
());
}
}
...
...
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