mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 12:53:09 +00:00
[KMTESTS:CC] Add a test that shows that our CC implementation duplicates BCB
It should instead reuse BCBs when mapping something already mapped.
This commit is contained in:
parent
f0eb39084e
commit
ad0c93b001
2 changed files with 91 additions and 10 deletions
|
@ -18,7 +18,10 @@ START_TEST(CcMapData)
|
|||
KmtLoadDriver(L"CcMapData", FALSE);
|
||||
KmtOpenDriver();
|
||||
|
||||
for (TestId = 0; TestId < 3; ++TestId)
|
||||
/* 3 tests for offset
|
||||
* 1 test for BCB
|
||||
*/
|
||||
for (TestId = 0; TestId < 4; ++TestId)
|
||||
{
|
||||
Ret = KmtSendUlongToDriver(IOCTL_START_TEST, TestId);
|
||||
ok(Ret == ERROR_SUCCESS, "KmtSendUlongToDriver failed: %lx\n", Ret);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue