[KMTESTS:FSRTL]

Fix copy/paste mistakes

svn path=/trunk/; revision=58849
This commit is contained in:
Pierre Schweitzer 2013-04-25 10:08:05 +00:00
parent 53f025c83e
commit f6d5d2eb5d

View file

@ -28,10 +28,10 @@ static VOID FsRtlLargeMcbTest()
ok(FsRtlAddLargeMcbEntry(&LargeMcb, 1, 1, 1024) == TRUE, "expected TRUE, got FALSE\n");
NbRuns = FsRtlNumberOfRunsInLargeMcb(&LargeMcb);
ok(NbRuns == 2, "Expected 2 runs, got: %lu\n", NbRuns);
ok(FsRtlLookupLastLargeMcbEntry(&LargeMcb, &Vbn, &Lbn) == TRUE, "expected FALSE, got TRUE\n");
ok(FsRtlLookupLastLargeMcbEntry(&LargeMcb, &Vbn, &Lbn) == TRUE, "expected TRUE, got FALSE\n");
ok(Vbn == 1024, "Expected Vbn 1024, got: %I64d\n", Vbn);
ok(Lbn == 1024, "Expected Lbn 1024, got: %I64d\n", Lbn);
ok(FsRtlLookupLastLargeMcbEntryAndIndex(&LargeMcb, &Vbn, &Lbn, &Index) == TRUE, "expected FALSE, got TRUE\n");
ok(FsRtlLookupLastLargeMcbEntryAndIndex(&LargeMcb, &Vbn, &Lbn, &Index) == TRUE, "expected TRUE, got FALSE\n");
ok(Vbn == 1024, "Expected Vbn 1024, got: %I64d\n", Vbn);
ok(Lbn == 1024, "Expected Lbn 1024, got: %I64d\n", Lbn);
ok(Index == 1, "Expected Index 1, got: %lu\n", Index);
@ -39,10 +39,10 @@ static VOID FsRtlLargeMcbTest()
ok(FsRtlAddLargeMcbEntry(&LargeMcb, 2048, 2, 1024) == TRUE, "expected TRUE, got FALSE\n");
NbRuns = FsRtlNumberOfRunsInLargeMcb(&LargeMcb);
ok(NbRuns == 4, "Expected 4 runs, got: %lu\n", NbRuns);
ok(FsRtlLookupLastLargeMcbEntry(&LargeMcb, &Vbn, &Lbn) == TRUE, "expected FALSE, got TRUE\n");
ok(FsRtlLookupLastLargeMcbEntry(&LargeMcb, &Vbn, &Lbn) == TRUE, "expected TRUE, got FALSE\n");
ok(Vbn == 3071, "Expected Vbn 3071, got: %I64d\n", Vbn);
ok(Lbn == 1025, "Expected Lbn 1025, got: %I64d\n", Lbn);
ok(FsRtlLookupLastLargeMcbEntryAndIndex(&LargeMcb, &Vbn, &Lbn, &Index) == TRUE, "expected FALSE, got TRUE\n");
ok(FsRtlLookupLastLargeMcbEntryAndIndex(&LargeMcb, &Vbn, &Lbn, &Index) == TRUE, "expected TRUE, got FALSE\n");
ok(Vbn == 3071, "Expected Vbn 3071, got: %I64d\n", Vbn);
ok(Lbn == 1025, "Expected Lbn 1025, got: %I64d\n", Lbn);
ok(Index == 3, "Expected Index 3, got: %lu\n", Index);
@ -94,19 +94,19 @@ static VOID FsRtlLargeMcbTest()
ok(StartingLbn == -1, "Expected StartingLbn -1, got: %I64d\n", StartingLbn);
ok(CountFromStartingLbn == 2048, "Expected CountFromStartingLbn 2048, got: %I64d\n", CountFromStartingLbn);
ok(Index == 0, "Expected Index 0, got: %lu\n", Index);
ok(FsRtlLookupLastLargeMcbEntryAndIndex(&LargeMcb, &Vbn, &Lbn, &Index) == TRUE, "expected FALSE, got TRUE\n");
ok(FsRtlLookupLastLargeMcbEntryAndIndex(&LargeMcb, &Vbn, &Lbn, &Index) == TRUE, "expected TRUE, got FALSE\n");
ok(Vbn == 3071, "Expected Vbn 3071, got: %I64d\n", Vbn);
ok(Lbn == 1025, "Expected Lbn 1025, got: %I64d\n", Lbn);
ok(Index == 1, "Expected Index 1, got: %lu\n", Index);
ok(FsRtlSplitLargeMcb(&LargeMcb, 2048, 1024) == TRUE, "expected FALSE, got TRUE\n");
ok(FsRtlSplitLargeMcb(&LargeMcb, 2048, 1024) == TRUE, "expected TRUE, got FALSE\n");
NbRuns = FsRtlNumberOfRunsInLargeMcb(&LargeMcb);
ok(NbRuns == 2, "Expected 2 runs, got: %lu\n", NbRuns);
ok(FsRtlLookupLastLargeMcbEntryAndIndex(&LargeMcb, &Vbn, &Lbn, &Index) == TRUE, "expected FALSE, got TRUE\n");
ok(FsRtlLookupLastLargeMcbEntryAndIndex(&LargeMcb, &Vbn, &Lbn, &Index) == TRUE, "expected TRUE, got FALSE\n");
ok(Vbn == 4095, "Expected Vbn 4095, got: %I64d\n", Vbn);
ok(Lbn == 1025, "Expected Lbn 1025, got: %I64d\n", Lbn);
ok(Index == 1, "Expected Index 1, got: %lu\n", Index);
ok(FsRtlLookupLargeMcbEntry(&LargeMcb, 2048, &Lbn, &SectorCount, &StartingLbn, &CountFromStartingLbn, &Index) == TRUE, "expected FALSE, got TRUE\n");
ok(FsRtlLookupLargeMcbEntry(&LargeMcb, 2048, &Lbn, &SectorCount, &StartingLbn, &CountFromStartingLbn, &Index) == TRUE, "expected TRUE, got FALSE\n");
ok(Lbn == -1, "Expected Lbn -1, got: %I64d\n", Lbn);
ok(SectorCount == 1024, "Expected SectorCount 1024, got: %I64d\n", SectorCount);
ok(StartingLbn == -1, "Expected StartingLbn -1, got: %I64d\n", StartingLbn);
@ -124,10 +124,10 @@ static VOID FsRtlLargeMcbTest()
ok(FsRtlAddLargeMcbEntry(&LargeMcb, 4095, 1025, 1024) == TRUE, "expected TRUE, got FALSE\n");
NbRuns = FsRtlNumberOfRunsInLargeMcb(&LargeMcb);
ok(NbRuns == 2, "Expected 2 runs, got: %lu\n", NbRuns);
ok(FsRtlLookupLastLargeMcbEntry(&LargeMcb, &Vbn, &Lbn) == TRUE, "expected FALSE, got TRUE\n");
ok(FsRtlLookupLastLargeMcbEntry(&LargeMcb, &Vbn, &Lbn) == TRUE, "expected TRUE, got FALSE\n");
ok(Vbn == 5118, "Expected Vbn 5118, got: %I64d\n", Vbn);
ok(Lbn == 2048, "Expected Lbn 2048, got: %I64d\n", Lbn);
ok(FsRtlLookupLastLargeMcbEntryAndIndex(&LargeMcb, &Vbn, &Lbn, &Index) == TRUE, "expected FALSE, got TRUE\n");
ok(FsRtlLookupLastLargeMcbEntryAndIndex(&LargeMcb, &Vbn, &Lbn, &Index) == TRUE, "expected TRUE, got FALSE\n");
ok(Vbn == 5118, "Expected Vbn 5118, got: %I64d\n", Vbn);
ok(Lbn == 2048, "Expected Lbn 2048, got: %I64d\n", Lbn);
ok(Index == 1, "Expected Index 1, got: %lu\n", Index);