mirror of
https://github.com/reactos/reactos.git
synced 2025-07-23 11:33:43 +00:00
[KMTESTS:CC]
It seems we're page-aligned. CORE-11003 svn path=/trunk/; revision=72170
This commit is contained in:
parent
dfdbabb521
commit
b7586c0478
1 changed files with 4 additions and 4 deletions
|
@ -228,8 +228,8 @@ TestIrpHandler(
|
|||
|
||||
if (!FlagOn(Irp->Flags, IRP_NOCACHE))
|
||||
{
|
||||
ok(Offset.QuadPart % 512 != 0, "Offset is aligned: %I64i\n", Offset.QuadPart);
|
||||
ok(Length % 512 != 0, "Length is aligned: %I64i\n", Length);
|
||||
ok(Offset.QuadPart % PAGE_SIZE != 0, "Offset is aligned: %I64i\n", Offset.QuadPart);
|
||||
ok(Length % PAGE_SIZE != 0, "Length is aligned: %I64i\n", Length);
|
||||
|
||||
Buffer = Irp->AssociatedIrp.SystemBuffer;
|
||||
ok(Buffer != NULL, "Null pointer!\n");
|
||||
|
@ -262,8 +262,8 @@ TestIrpHandler(
|
|||
}
|
||||
else
|
||||
{
|
||||
ok(Offset.QuadPart % 512 == 0, "Offset is not aligned: %I64i\n", Offset.QuadPart);
|
||||
ok(Length % 512 == 0, "Length is not aligned: %I64i\n", Length);
|
||||
ok(Offset.QuadPart % PAGE_SIZE == 0, "Offset is not aligned: %I64i\n", Offset.QuadPart);
|
||||
ok(Length % PAGE_SIZE == 0, "Length is not aligned: %I64i\n", Length);
|
||||
|
||||
ok(Irp->AssociatedIrp.SystemBuffer == NULL, "A SystemBuffer was allocated!\n");
|
||||
Buffer = MapAndLockUserBuffer(Irp, Length);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue