[KMTESTS:MM]
authorPierre Schweitzer <pierre@reactos.org>
Fri, 15 Sep 2017 10:32:22 +0000 (10:32 +0000)
committerPierre Schweitzer <pierre@reactos.org>
Fri, 15 Sep 2017 10:32:22 +0000 (10:32 +0000)
Revert r75840.
It's no use that way

svn path=/trunk/; revision=75841

rostests/kmtests/ntos_mm/NtCreateSection_drv.c

index 9479973..f5082b2 100644 (file)
@@ -318,19 +318,11 @@ TestIrpHandler(
             }
             else
             {
             }
             else
             {
-                PMDL Mdl;
-
                 ok(Irp->AssociatedIrp.SystemBuffer == NULL, "A SystemBuffer was allocated!\n");
                 Buffer = MapAndLockUserBuffer(Irp, Length);
                 ok(Buffer != NULL, "Null pointer!\n");
                 RtlFillMemory(Buffer, Length, 0xBA);
 
                 ok(Irp->AssociatedIrp.SystemBuffer == NULL, "A SystemBuffer was allocated!\n");
                 Buffer = MapAndLockUserBuffer(Irp, Length);
                 ok(Buffer != NULL, "Null pointer!\n");
                 RtlFillMemory(Buffer, Length, 0xBA);
 
-                Mdl = Irp->MdlAddress;
-                ok(Mdl != NULL, "Null pointer for MDL!\n");
-                ok((Mdl->MdlFlags & MDL_PAGES_LOCKED) != 0, "MDL not locked\n");
-                ok((Mdl->MdlFlags & MDL_SOURCE_IS_NONPAGED_POOL) == 0, "MDL from non paged\n");
-                ok((Irp->Flags & IRP_PAGING_IO) != 0, "Non paging IO\n");
-
                 Status = STATUS_SUCCESS;
             }
         }
                 Status = STATUS_SUCCESS;
             }
         }