1
0
mirror of https://github.com/wine-mirror/wine synced 2024-07-08 03:45:57 +00:00

ntoskrnl.exe/tests: Avoid sizeof() in traces.

This commit is contained in:
Alexandre Julliard 2023-07-06 18:13:51 +02:00
parent ef6055c164
commit 08cfcb71bd

View File

@ -1241,8 +1241,7 @@ static void test_lookaside_list(void)
ok(list.L.Type == (NonPagedPool|POOL_NX_ALLOCATION),
"Expected NonPagedPool|POOL_NX_ALLOCATION got %u\n", list.L.Type);
ok(list.L.Tag == tag, "Expected %lx got %lx\n", tag, list.L.Tag);
ok(list.L.Size == LOOKASIDE_MINIMUM_BLOCK_SIZE,
"Expected %Iu got %lu\n", LOOKASIDE_MINIMUM_BLOCK_SIZE, list.L.Size);
ok(list.L.Size == LOOKASIDE_MINIMUM_BLOCK_SIZE, "got %lu\n", list.L.Size);
ok(list.L.LastTotalAllocates == 0,"Expected 0 got %lu\n", list.L.LastTotalAllocates);
ok(list.L.LastAllocateMisses == 0,"Expected 0 got %lu\n", list.L.LastAllocateMisses);
ExDeleteNPagedLookasideList(&list);
@ -1264,8 +1263,7 @@ static void test_lookaside_list(void)
ok(paged_list.L.Type == (PagedPool|POOL_NX_ALLOCATION),
"Expected PagedPool|POOL_NX_ALLOCATION got %u\n", paged_list.L.Type);
ok(paged_list.L.Tag == tag, "Expected %lx got %lx\n", tag, paged_list.L.Tag);
ok(paged_list.L.Size == LOOKASIDE_MINIMUM_BLOCK_SIZE,
"Expected %Iu got %lu\n", LOOKASIDE_MINIMUM_BLOCK_SIZE, paged_list.L.Size);
ok(paged_list.L.Size == LOOKASIDE_MINIMUM_BLOCK_SIZE, "got %lu\n", paged_list.L.Size);
ok(paged_list.L.LastTotalAllocates == 0,"Expected 0 got %lu\n", paged_list.L.LastTotalAllocates);
ok(paged_list.L.LastAllocateMisses == 0,"Expected 0 got %lu\n", paged_list.L.LastAllocateMisses);
ExDeletePagedLookasideList(&paged_list);