mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 16:36:33 +00:00
[NTDLL_APITEST] Re-enable the part of the NtLoad/UnloadKey test related to force-unload a hive with opened sub-key handles.
Effectively reverts b17ce9c8
(r75138).
CORE-13448
This commit is contained in:
parent
d61c00c252
commit
76e2698237
1 changed files with 0 additions and 4 deletions
|
@ -520,8 +520,6 @@ START_TEST(NtLoadUnloadKey)
|
|||
Status = NtFlushKey(KeyHandle);
|
||||
ok_ntstatus(Status, STATUS_SUCCESS);
|
||||
|
||||
#if 0 // Currently, leads to memory corruption !!!!!
|
||||
|
||||
/* Force-unmount the hive, with the handle key still opened */
|
||||
Status = DisconnectRegistry(NULL, RegistryHives[0].RegMountPoint, REG_FORCE_UNLOAD);
|
||||
DPRINT1("Force-unmounting '%S' %s\n", RegistryHives[0].RegMountPoint, NT_SUCCESS(Status) ? "succeeded" : "failed");
|
||||
|
@ -535,8 +533,6 @@ START_TEST(NtLoadUnloadKey)
|
|||
ok_ntstatus(Status, STATUS_KEY_DELETED);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
/* The key handle should not be valid anymore */
|
||||
Status = NtDeleteKey(KeyHandle);
|
||||
ok_ntstatus(Status, STATUS_SUCCESS);
|
||||
|
|
Loading…
Reference in a new issue