Author: pschweitzer
Date: Fri Sep 15 12:10:59 2017
New Revision: 75845
URL:
http://svn.reactos.org/svn/reactos?rev=75845&view=rev
Log:
[KMTESTS:CC]
[KMTESTS:MM]
Also test the paging IO flag of the MDL
Modified:
trunk/rostests/kmtests/ntos_cc/CcCopyRead_drv.c
trunk/rostests/kmtests/ntos_mm/NtCreateSection_drv.c
Modified: trunk/rostests/kmtests/ntos_cc/CcCopyRead_drv.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/kmtests/ntos_cc/CcCopyRea…
==============================================================================
--- trunk/rostests/kmtests/ntos_cc/CcCopyRead_drv.c [iso-8859-1] (original)
+++ trunk/rostests/kmtests/ntos_cc/CcCopyRead_drv.c [iso-8859-1] Fri Sep 15 12:10:59 2017
@@ -289,6 +289,7 @@
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((Mdl->MdlFlags & MDL_IO_PAGE_READ) != 0, "Non paging
IO\n");
ok((Irp->Flags & IRP_PAGING_IO) != 0, "Non paging IO\n");
}
Modified: trunk/rostests/kmtests/ntos_mm/NtCreateSection_drv.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/kmtests/ntos_mm/NtCreateS…
==============================================================================
--- trunk/rostests/kmtests/ntos_mm/NtCreateSection_drv.c [iso-8859-1] (original)
+++ trunk/rostests/kmtests/ntos_mm/NtCreateSection_drv.c [iso-8859-1] Fri Sep 15 12:10:59
2017
@@ -387,6 +387,7 @@
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((Mdl->MdlFlags & MDL_IO_PAGE_READ) == 0, "Paging IO for
reading\n");
ok((Irp->Flags & IRP_PAGING_IO) != 0, "Non paging
IO\n");
Status = STATUS_SUCCESS;