Author: tfaber
Date: Tue Sep 15 16:46:28 2015
New Revision: 69243
URL:
http://svn.reactos.org/svn/reactos?rev=69243&view=rev
Log:
[KMTESTS:MM]
- Keep the number of tests constant in MmMdl because Testman
Modified:
trunk/rostests/kmtests/ntos_mm/MmMdl.c
Modified: trunk/rostests/kmtests/ntos_mm/MmMdl.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/kmtests/ntos_mm/MmMdl.c?r…
==============================================================================
--- trunk/rostests/kmtests/ntos_mm/MmMdl.c [iso-8859-1] (original)
+++ trunk/rostests/kmtests/ntos_mm/MmMdl.c [iso-8859-1] Tue Sep 15 16:46:28 2015
@@ -120,8 +120,11 @@
ok(MdlPageCount < 2UL * 1024 * 1024 * 1024 / PAGE_SIZE, "MdlPageCount =
%lu\n", MdlPageCount);
for (i = 0; i < MdlPageCount; i++)
{
- ok(MdlPages[i] != 0 && MdlPages[i] != (PFN_NUMBER)-1,
- "MdlPages[%lu] = 0x%I64x\n", i, (ULONGLONG)MdlPages[i]);
+ if (MdlPages[i] == 0 ||
+ MdlPages[i] == (PFN_NUMBER)-1)
+ {
+ ok(0, "MdlPages[%lu] = 0x%I64x\n", i, (ULONGLONG)MdlPages[i]);
+ }
}
SystemVa = MmMapLockedPagesSpecifyCache(Mdl,
KernelMode,