Commit graph

9 commits

Author SHA1 Message Date
Pierre Schweitzer 909eb635f2 [KMTESTS:FSRTL]
Add more failing tests for MCB. These are pretty basics and deal with holes.
They are pretty handy to show how broken the current MCB implementation is, in regard to holes management: it fails at properly counting runs when there are holes and it creates virtual runs (hence the broken count) for each hole. This shouldn't happen.

CORE-11002

svn path=/trunk/; revision=71177
2016-04-17 21:17:49 +00:00
Pierre Schweitzer d814167aba [KMTESTS:FSRTL]
Add more non-failing tests

CORE-11002

svn path=/trunk/; revision=71162
2016-04-15 19:43:12 +00:00
Pierre Schweitzer 4d3121a2c1 [KMTESTS:FSRTL]
Add a simple test for FsRtlAddLargeMcbEntry() which shows how hard it's broken... Not only it doesn't support mismatching LBNs, but it also replaces current mapping with broken one

CORE-11002

svn path=/trunk/; revision=71141
2016-04-10 18:02:04 +00:00
Pierre Schweitzer b37377e363 [KMTESTS:FSRTL]
Add more tests for LargeMcb functions.

These are not invented but real cases: they are extracted from Ext2Fsd driver attempting to read a file from disk. The read file in ReactOS is totally corrupted.

This shows how broken our current MCB implementation is. And unfortunately confirms CORE-11002.
I recommend not to import any other FSDs relying on MCB as long as this is not fixed (eg. CORE-11040); it makes them pretty pointless.

CORE-11002

svn path=/trunk/; revision=71091
2016-04-03 10:25:32 +00:00
Aleksey Bragin e329b10e5c [KMTESTS/FSRTL]
- Add all runs dumping to aid in development.
- Do not try to add a mapping run with 0 LBN. Zero and negative LBNs are forbidden.
- Rework other tests to work as expected (plumb a hole).

svn path=/trunk/; revision=59347
2013-06-27 08:32:46 +00:00
Pierre Schweitzer bfe3492dc4 [KMTESTS:FSRTL]
Add comments

svn path=/trunk/; revision=58962
2013-05-06 11:24:55 +00:00
Pierre Schweitzer c97cdd5dd9 [KMTESTS:FSRTL]
Add more tests for MCBs

svn path=/trunk/; revision=58961
2013-05-06 08:10:53 +00:00
Pierre Schweitzer f6d5d2eb5d [KMTESTS:FSRTL]
Fix copy/paste mistakes

svn path=/trunk/; revision=58849
2013-04-25 10:08:05 +00:00
Pierre Schweitzer 5d683f8f8f [KMTESTS:FSRTL]
Add tests for testing Large MCBs on Aleksey's request.
Currently, they fail (and even crash) on ReactOS.
Aleksey promised a bugfix!

svn path=/trunk/; revision=58838
2013-04-23 21:34:59 +00:00