https://git.reactos.org/?p=reactos.git;a=commitdiff;h=cdc419eb1808659362ff71...
commit cdc419eb1808659362ff71575e84541c6d460319 Author: Pierre Schweitzer pierre@reactos.org AuthorDate: Sun Dec 23 12:31:14 2018 +0100 Commit: Pierre Schweitzer pierre@reactos.org CommitDate: Sun Dec 23 12:31:14 2018 +0100
[KMTESTS:CC] Fix a typo, definitely showing this code path is not used during the test --- modules/rostests/kmtests/ntos_cc/CcSetFileSizes_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/rostests/kmtests/ntos_cc/CcSetFileSizes_drv.c b/modules/rostests/kmtests/ntos_cc/CcSetFileSizes_drv.c index af644a0a18..3d23ab54be 100644 --- a/modules/rostests/kmtests/ntos_cc/CcSetFileSizes_drv.c +++ b/modules/rostests/kmtests/ntos_cc/CcSetFileSizes_drv.c @@ -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) {