[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:
Pierre Schweitzer 2018-08-31 23:01:06 +02:00
parent f0eb39084e
commit ad0c93b001
No known key found for this signature in database
GPG key ID: 7545556C3D585B0B
2 changed files with 91 additions and 10 deletions

View file

@ -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);