[KMTESTS] Temporarily disable the debugger disable/reenable tests (#7424)

They will be re-enabled ONCE our KDBG and KDCOM dlls correctly support
disabling and re-enabling.
This commit is contained in:
Hermès Bélusca-Maïto 2025-01-12 20:01:20 +01:00
parent 94cb4d6c0c
commit 40ea081198
No known key found for this signature in database
GPG key ID: 3B2539C65E7B93D0

View file

@ -180,6 +180,11 @@ START_TEST(NtSystemDebugControl)
* the next tests are going to change its state */ * the next tests are going to change its state */
WasDebuggerEnabled = SharedUserData->KdDebuggerEnabled; WasDebuggerEnabled = SharedUserData->KdDebuggerEnabled;
//
// FIXME: Re-enable ONCE our KDBG and KDCOM dlls support disabling and re-enabling.
//
DBG_UNREFERENCED_LOCAL_VARIABLE(WasDebuggerEnabled);
#if 0
/* Try to disable or enable the debugger, depending on its original state */ /* Try to disable or enable the debugger, depending on its original state */
if (WasDebuggerEnabled) if (WasDebuggerEnabled)
Command = SysDbgDisableKernelDebugger; // 22 Command = SysDbgDisableKernelDebugger; // 22
@ -219,6 +224,8 @@ START_TEST(NtSystemDebugControl)
ok_eq_hex_test(Command, Status, STATUS_SUCCESS); ok_eq_hex_test(Command, Status, STATUS_SUCCESS);
else else
ok_eq_hex_test(Command, Status, STATUS_DEBUGGER_INACTIVE); ok_eq_hex_test(Command, Status, STATUS_DEBUGGER_INACTIVE);
#endif
// END FIXME
/* Supported commands */ /* Supported commands */