[KMTESTS:CC] Fix a typo, definitely showing this code path is not used during the...
authorPierre Schweitzer <pierre@reactos.org>
Sun, 23 Dec 2018 11:31:14 +0000 (12:31 +0100)
committerPierre Schweitzer <pierre@reactos.org>
Sun, 23 Dec 2018 11:31:14 +0000 (12:31 +0100)
modules/rostests/kmtests/ntos_cc/CcSetFileSizes_drv.c

index af644a0..3d23ab5 100644 (file)
@@ -456,7 +456,7 @@ TestIrpHandler(
             RtlFillMemory(Buffer, Length, 0xBD);
         }
 
-        if (TestTestId == 4 && TestWritten &&
+        if ((TestTestId == 4 || TestTestId == 5) && TestWritten &&
             Offset.QuadPart <= VACB_MAPPING_GRANULARITY - PAGE_SIZE - sizeof(ULONG) &&
             Offset.QuadPart + Length >= VACB_MAPPING_GRANULARITY - PAGE_SIZE)
         {