Commit graph

28 commits

Author SHA1 Message Date
Pierre Schweitzer 72eefb7a68 [KMTESTS:FSRTL]
Add a stress test for tunnel cache implementation, where we have fun adding duplicated entries.
It doesn't seem to go well.
These tests are also known as "Learn your English ordinals", or as "Learn how to count in English". My pleasure.

CORE-11819

svn path=/trunk/; revision=72192
2016-08-10 20:50:36 +00:00
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
Thomas Faber 7a677edbeb [KMTESTS:FSRTL]
- Add tests for FsRtlDissectName/FsRtlDissectDbcs and FsRtlIsFatDbcsLegal/FsRtlIsHpfsDbcsLegal

svn path=/trunk/; revision=70226
2015-12-01 14:22:17 +00:00
Pierre Schweitzer d9c71ea288 [KMTEST]
Leak less memory.

svn path=/trunk/; revision=67888
2015-05-24 18:14:49 +00:00
Pierre Schweitzer 0d763e60fb [KMTEST]
Don't attempt to allocate null-size buffer when copying empty string.

Note to next generations students: test your code and DON'T LEAK MEMORY!!!!
It still leaks atm, will have a look later on.
Note to Mr Bragin, beloved ReactOS Project Coordinator: did you actually reviewed your students work?

CORE-7272

svn path=/trunk/; revision=67885
2015-05-24 17:31:49 +00:00
Thomas Faber 49bb368ddc [KMTESTS]
- Add a test showing RtlUpcaseUnicodeString behavior with zero-length strings
- Run all test cases against FsRtlIsNameInExpressionTest on checked builds, only the Dbcs version asserts
CORE-9254

svn path=/trunk/; revision=66479
2015-02-27 22:42:35 +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
Aleksey Bragin 2b03ca813e [KMTEST]
- Fix formatting of FsRtlTunnel.c
- Add proper header.

svn path=/trunk/; revision=59180
2013-06-05 23:25:02 +00:00
Aleksey Bragin 4b891e910a [KMTEST]
- Add tests for FsRtl Tunnel Cache APIs. By Moscow State Technical University students Arseny Ashuha, Marina Volosnikova and Denis Petkevich.
- Disabled from testbot because they bugcheck ReactOS (unimplemented functions bugcheck).

svn path=/trunk/; revision=59177
2013-06-05 22:50:57 +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
Thomas Faber c568d4fd8b [KMTESTS:FSRTL]
- Rework FsRtlExpression test to be more maintainable by using a table. Patch by Víctor Martínez Calvo, a few comments by me.
CORE-7108 #resolve

svn path=/trunk/; revision=58864
2013-04-27 07:44:28 +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
Pierre Schweitzer 2b47f60899 [KMTEST:FSRTL]
Add a test that matches rosautotest.exe behavior

svn path=/trunk/; revision=58826
2013-04-22 06:49:01 +00:00
Pierre Schweitzer bc281af13f [KMTESTS:FSRTL]
Add more tests for FsRtlIs*InExpression()
Tested on w2k3 by Thomas

svn path=/trunk/; revision=58801
2013-04-21 13:47:54 +00:00
Pierre Schweitzer 301f9552c0 [KMTEST:FSRTL]
Fix assertion failure on checked builds

svn path=/trunk/; revision=58789
2013-04-20 12:54:38 +00:00
Pierre Schweitzer 13bb26cfcf [KMTEST:FSRTL]
Add more tests for FsRtlIsNameInExpression() by Victor Martinez
Also add these tests for FsRtlIsDbcsInExpression()
See CORE-5125 for more information

svn path=/trunk/; revision=58788
2013-04-20 12:24:57 +00:00
Pierre Schweitzer 9fbfe075cb [KMTEST]
6 more tests

svn path=/trunk/; revision=56148
2012-03-14 13:53:22 +00:00
Pierre Schweitzer fa63f5ff1c [KMTEST]
Add missing EOLs

svn path=/trunk/; revision=56147
2012-03-14 10:04:07 +00:00
Pierre Schweitzer 5503fdf3bd [KMTEST]
Finally, add more tests for extra wildcards. They were untested before.
There should be several failures

svn path=/trunk/; revision=56145
2012-03-14 09:43:16 +00:00
Pierre Schweitzer 3f4382482e [KMTEST]
Only if-out the proper tests on checked builds. This should reveal the failing tests.

svn path=/trunk/; revision=56142
2012-03-13 21:24:11 +00:00
Pierre Schweitzer fc00f17c66 [KMTEST]
Add a few more tests. Two should fail on ReactOS

svn path=/trunk/; revision=56141
2012-03-13 21:07:55 +00:00
Pierre Schweitzer d858435e44 [KMTEST]
Add more tests for FsRtlIs*InExpression()
Those are currently failing on ReactOS

svn path=/trunk/; revision=53858
2011-09-26 05:51:39 +00:00
Thomas Faber 454f222ade [ROSTESTS]
- Merge the Kernel Mode Test Suite Google Summer of Code project
- Happy testing, everyone ;)

svn path=/trunk/; revision=53671
2011-09-10 11:41:33 +00:00