mirror of
https://github.com/reactos/reactos.git
synced 2025-07-30 19:11:51 +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;
|
||||
SectorCount = -1;
|
||||
Result = FsRtlLookupLargeMcbEntry(&FirstMcb, 8388607LL, &Lbn, &SectorCount, NULL, NULL, NULL);
|
||||
ok(Result = TRUE, "Expected TRUE, got FALSE\n");
|
||||
ok(Lbn == -1, "Expected Lbn 44, got: %I64d\n", Lbn);
|
||||
ok(SectorCount == -1, "Expected SectorCount 44, got: %I64d\n", SectorCount);
|
||||
ok_bool_false(Result, "FsRtlLookupLargeMcbEntry returned");
|
||||
ok_eq_longlong(Lbn, -1);
|
||||
ok_eq_longlong(SectorCount, -1);
|
||||
|
||||
Vbn = -1;
|
||||
Lbn = -1;
|
||||
Index = -1;
|
||||
Index = (ULONG) -1;
|
||||
Result = FsRtlLookupLastLargeMcbEntryAndIndex(&FirstMcb, &Vbn, &Lbn, &Index);
|
||||
ok(Result = TRUE, "Expected TRUE, got FALSE\n");
|
||||
ok(Vbn == -1, "Expected Vbn 0, got: %I64d\n", Vbn);
|
||||
ok(Lbn == -1, "Expected Lbn 0, got: %I64d\n", Lbn);
|
||||
ok(Index == -1, "Expected Index 0, got: %d\n", Index);
|
||||
ok_bool_false(Result, "FsRtlLookupLastLargeMcbEntryAndIndex returned");
|
||||
ok_eq_longlong(Vbn, -1);
|
||||
ok_eq_longlong(Lbn, -1);
|
||||
ok_eq_ulong(Index, (ULONG) -1);
|
||||
|
||||
FsRtlUninitializeLargeMcb(&FirstMcb);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue