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
b3e4155a
Commit
b3e4155a
authored
Jun 05, 2009
by
Paul Vriens
Committed by
Alexandre Julliard
Jun 05, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32/tests: Fix a test failure on Win9x/WinMe.
parent
d449fcde
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
6 deletions
+11
-6
debugger.c
dlls/kernel32/tests/debugger.c
+11
-6
No files found.
dlls/kernel32/tests/debugger.c
View file @
b3e4155a
...
...
@@ -280,15 +280,16 @@ static void crash_and_debug(HKEY hkey, const char* argv0, const char* dbgtasks)
/* If, after attaching to the debuggee, the debugger exits without
* detaching, then the debuggee gets a special exit code.
*/
ok
(
exit_code
==
0xffffffff
||
/* Win 9x */
exit_code
==
0x80
||
/* NT4
*/
exit_code
==
STATUS_DEBUGGER_INACTIVE
,
/* Win >= XP
*/
ok
(
exit_code
==
STATUS_DEBUGGER_INACTIVE
||
broken
(
exit_code
==
0xffffffff
)
||
/* Win9x
*/
broken
(
exit_code
==
WAIT_ABANDONED
),
/* NT4, W2K
*/
"wrong exit code : %08x
\n
"
,
exit_code
);
}
else
ok
(
exit_code
==
STATUS_ACCESS_VIOLATION
||
exit_code
==
WAIT_ABANDONED
,
/* win2k3 */
"exit code = %08x instead of STATUS_ACCESS_VIOLATION or WAIT_ABANDONED
\n
"
,
exit_code
);
ok
(
exit_code
==
STATUS_ACCESS_VIOLATION
||
broken
(
exit_code
==
WAIT_ABANDONED
)
||
/* NT4, W2K, W2K3 */
broken
(
exit_code
==
0xffffffff
),
/* Win9x, WinME */
"wrong exit code : %08x
\n
"
,
exit_code
);
CloseHandle
(
info
.
hProcess
);
/* ...before the debugger */
...
...
@@ -410,8 +411,12 @@ static void test_ExitCode(void)
crash_and_debug
(
hkey
,
test_exe
,
"dbg,attach,event,code2"
);
if
(
pDebugSetProcessKillOnExit
)
crash_and_debug
(
hkey
,
test_exe
,
"dbg,attach,event,nokill"
);
else
win_skip
(
"DebugSetProcessKillOnExit is not available
\n
"
);
if
(
pDebugActiveProcessStop
)
crash_and_debug
(
hkey
,
test_exe
,
"dbg,attach,event,detach"
);
else
win_skip
(
"DebugActiveProcessStop is not available
\n
"
);
if
(
disposition
==
REG_CREATED_NEW_KEY
)
{
...
...
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