mirror of
https://github.com/reactos/reactos.git
synced 2024-11-23 03:23:34 +08:00
** Verify whether some of the ok / print traces to the debugger made in the NtSystemDebugControl test caused the hangout when the debugger was disabled **
This commit is contained in:
parent
b9a1bf5ca9
commit
b2ced2281e
@ -203,18 +203,18 @@ DbgPrint("NtSysDbgControl(%lu)\n", Command);
|
||||
*/
|
||||
if (Command == SysDbgEnableKernelDebugger)
|
||||
{
|
||||
ok(Status == STATUS_SUCCESS || Status == STATUS_INVALID_PARAMETER,
|
||||
"In test %lu: Status = 0x%08lx, expected 0x%08lx or 0x%08lx\n",
|
||||
Command, Status, STATUS_SUCCESS, STATUS_INVALID_PARAMETER);
|
||||
//ok(Status == STATUS_SUCCESS || Status == STATUS_INVALID_PARAMETER,
|
||||
// "In test %lu: Status = 0x%08lx, expected 0x%08lx or 0x%08lx\n",
|
||||
// Command, Status, STATUS_SUCCESS, STATUS_INVALID_PARAMETER);
|
||||
}
|
||||
else
|
||||
{
|
||||
ok_eq_hex_test(Command, Status, STATUS_SUCCESS);
|
||||
//ok_eq_hex_test(Command, Status, STATUS_SUCCESS);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
ok_eq_hex_test(Command, Status, STATUS_DEBUGGER_INACTIVE);
|
||||
//ok_eq_hex_test(Command, Status, STATUS_DEBUGGER_INACTIVE);
|
||||
}
|
||||
|
||||
/* Re-enable or disable the debugger, depending on its original state */
|
||||
@ -222,8 +222,8 @@ DbgPrint("NtSysDbgControl(%lu)\n", Command);
|
||||
Command = SysDbgEnableKernelDebugger; // 21
|
||||
else
|
||||
Command = SysDbgDisableKernelDebugger; // 22
|
||||
DbgPrint("NtSysDbgControl(%lu)\n", Command);
|
||||
Status = TestSystemDebugControl((SYSDBG_COMMAND)Command);
|
||||
DbgPrint("post - NtSysDbgControl(%lu)\n", Command);
|
||||
if (!IsVistaOrHigher || IsDebuggerActive)
|
||||
ok_eq_hex_test(Command, Status, STATUS_SUCCESS);
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user