mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 14:53:40 +00:00
[KMTESTS:FSRTL] Fix all FsRtlLargeMcbTestsFastFat() checks
Addendum to 22037684e4
.
- Result: check "== FALSE" not "= TRUE".
- Report compared values, not different ones.
CORE-11819
This commit is contained in:
parent
a2f77ee3fb
commit
e8271c9a46
1 changed files with 8 additions and 8 deletions
|
@ -699,18 +699,18 @@ static VOID FsRtlLargeMcbTestsFastFat()
|
||||||
Lbn = -1;
|
Lbn = -1;
|
||||||
SectorCount = -1;
|
SectorCount = -1;
|
||||||
Result = FsRtlLookupLargeMcbEntry(&FirstMcb, 8388607LL, &Lbn, &SectorCount, NULL, NULL, NULL);
|
Result = FsRtlLookupLargeMcbEntry(&FirstMcb, 8388607LL, &Lbn, &SectorCount, NULL, NULL, NULL);
|
||||||
ok(Result = TRUE, "Expected TRUE, got FALSE\n");
|
ok_bool_false(Result, "FsRtlLookupLargeMcbEntry returned");
|
||||||
ok(Lbn == -1, "Expected Lbn 44, got: %I64d\n", Lbn);
|
ok_eq_longlong(Lbn, -1);
|
||||||
ok(SectorCount == -1, "Expected SectorCount 44, got: %I64d\n", SectorCount);
|
ok_eq_longlong(SectorCount, -1);
|
||||||
|
|
||||||
Vbn = -1;
|
Vbn = -1;
|
||||||
Lbn = -1;
|
Lbn = -1;
|
||||||
Index = -1;
|
Index = (ULONG) -1;
|
||||||
Result = FsRtlLookupLastLargeMcbEntryAndIndex(&FirstMcb, &Vbn, &Lbn, &Index);
|
Result = FsRtlLookupLastLargeMcbEntryAndIndex(&FirstMcb, &Vbn, &Lbn, &Index);
|
||||||
ok(Result = TRUE, "Expected TRUE, got FALSE\n");
|
ok_bool_false(Result, "FsRtlLookupLastLargeMcbEntryAndIndex returned");
|
||||||
ok(Vbn == -1, "Expected Vbn 0, got: %I64d\n", Vbn);
|
ok_eq_longlong(Vbn, -1);
|
||||||
ok(Lbn == -1, "Expected Lbn 0, got: %I64d\n", Lbn);
|
ok_eq_longlong(Lbn, -1);
|
||||||
ok(Index == -1, "Expected Index 0, got: %d\n", Index);
|
ok_eq_ulong(Index, (ULONG) -1);
|
||||||
|
|
||||||
FsRtlUninitializeLargeMcb(&FirstMcb);
|
FsRtlUninitializeLargeMcb(&FirstMcb);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue