Commit graph

31 commits

Author SHA1 Message Date
Pierre Schweitzer 444775e662 [KMTESTS:MM]
Test FCB header fields: FileSize, ValidDataLength

CORE-11819
CORE-12475

svn path=/trunk/; revision=73395
2016-11-27 13:39:01 +00:00
Pierre Schweitzer a3dbf1b448 [KMTESTS:MM]
Playing with EOF shouldn't make you forget EOL!
Addendum to r73392

svn path=/trunk/; revision=73393
2016-11-27 10:56:40 +00:00
Pierre Schweitzer 695beeee78 [KMTESTS:MM]
Check the first byte is really null, in spite of the hack writing.

CORE-11819
CORE-12475

svn path=/trunk/; revision=73392
2016-11-27 10:49:33 +00:00
Pierre Schweitzer 9951d766cc [KMTESTS:MM]
This tests doesn't fail anylonger on ReactOS (not sure which rev fixed it)

ROSTESTS-108

svn path=/trunk/; revision=73328
2016-11-20 20:58:22 +00:00
Pierre Schweitzer 49691778cd [KMTESTS:MM]
Thanks to r73325, these tests don't deadlock anymore on ReactOS. Enable them again (aka, revert r73227).

ROSTESTS-248

svn path=/trunk/; revision=73326
2016-11-20 18:42:15 +00:00
Thomas Faber a9805facab [KMTESTS:MM]
- Skip NtCreateSection tests since they hang on testbot.
ROSTESTS-248

svn path=/trunk/; revision=73227
2016-11-13 16:42:16 +00:00
Pierre Schweitzer 2fdacdbbd6 [KMTESTS:MM]
Bugfix for IRP_MJ_SET_INFORMATION/FileEndOfFileInformation: really set the information. The test still works fine in Windows and still fails hard in ReactOS.

svn path=/trunk/; revision=73200
2016-11-11 10:44:51 +00:00
Pierre Schweitzer 6db40277dc [KMTESTS:MM]
Add tests for the NtCreateSection functions which mimic some of the behavior that can be exposed by FSDs (late init, too small files, and so on).
It was designed in W2K3.

svn path=/trunk/; revision=73198
2016-11-10 21:02:48 +00:00
Pierre Schweitzer 49b29b7594 [KMTESTS:MM]
MmAllocatePagesForMdlEx() was added on Windows 2003 SP1. Import it for "older" systems.

svn path=/trunk/; revision=69318
2015-09-22 18:05:45 +00:00
Thomas Faber ad06f5118a [KMTESTS:MM]
- Keep the number of tests constant in MmMdl because Testman

svn path=/trunk/; revision=69243
2015-09-15 16:46:28 +00:00
Thomas Faber 317b564ba0 [KMTESTS:MM]
- Add some more reserved mapping tests for special pool tags and unaligned addresses
- Validate MDL pages in MmMdl test

svn path=/trunk/; revision=69169
2015-09-10 11:16:53 +00:00
Thomas Faber 62d6fa7706 [KMTESTS:MM]
- Add a test for MmAllocateMappingAddress/MmMapLockedPagesWithReservedMapping
CORE-10147

svn path=/trunk/; revision=69168
2015-09-10 09:58:02 +00:00
Thomas Faber 64379e8f3a [NTOS:MM]
- Show that PAGE_NOCACHE also works for image and data sections
- Show that *MapViewOfSection returns user space addresses
CORE-9808

svn path=/trunk/; revision=68352
2015-07-05 19:44:05 +00:00
Thomas Faber 7346aece52 [KMTESTS:MM]
- Add a test for \Device\PhysicalMemory sections, which shows that we have trouble with PAGE_NOCACHE.
CORE-9808

svn path=/trunk/; revision=68351
2015-07-05 19:17:50 +00:00
Thomas Faber df14063ebc [KMTESTS:MM]
- Fix some massive NP pool leakage.

svn path=/trunk/; revision=68318
2015-06-30 10:54:41 +00:00
Thomas Faber eb33bb164d [KMTESTS:MM]
- Add a test for MmAllocatePagesForMdl

svn path=/trunk/; revision=68271
2015-06-26 07:31:01 +00:00
Jérôme Gardou 9aff965362 [KMTESTS]
- Test what happens to the 'base' of memory allocated with ZwAllocateVirtualMemory
 - Fix some tests according to w2k3sp2 behaviour.
Thanks Amine for testing ;-)

svn path=/trunk/; revision=64028
2014-09-01 22:41:36 +00:00
Timo Kreuzer bccd8b7aea [KMTEST]
Revert the DDK compatibility hack and apply a real fix. I kept the hack for NDK exports, we should consider changing them as well for consistency reasons.

svn path=/trunk/; revision=63268
2014-05-12 23:36:05 +00:00
Timo Kreuzer be359827c5 [KMTEST]
Add a temp hack that allows to compile kmtest_drv with either the current incompatible object type data imports or with the fixed ones

svn path=/trunk/; revision=63222
2014-05-10 17:19:53 +00:00
Thomas Faber 3c7c94a174 [COMMENTS]
- Consistent email address is consistent.

svn path=/trunk/; revision=60631
2013-10-12 16:05:54 +00:00
Hermès Bélusca-Maïto 2c7388a0b1 [KMTESTS]
No need now to declare a NTSTATUS ExceptionStatus; variable to be able to use KmtStartSeh() / KmtEndSeh() macros; this is done automagically.

svn path=/trunk/; revision=60320
2013-09-22 19:28:21 +00:00
Amine Khaldi 3a0cb73e64 [KMTESTS]
* Run this block now that guard pages are supported.
ROSTESTS-107 #resolve

svn path=/trunk/; revision=59953
2013-09-01 17:55:00 +00:00
Thomas Faber 1c1f89cd6b [KMTESTS:MM]
- Gracefully handle file open failure in ZwCreateSection test. Patch by Aleksandar Andrejevic.
ROSTESTS-115 #resolve

svn path=/trunk/; revision=59362
2013-06-29 13:10:30 +00:00
Thomas Faber 5cd67c3c36 [KMTESTS:MM]
- Fix 64-bit warnings. Patch by Nikolay Borisov.
ROSTESTS-112 #resolve

svn path=/trunk/; revision=58940
2013-05-05 12:18:49 +00:00
Thomas Faber 76a1dccfe2 [KMTESTS:MM]
- Add tests for ZwAllocateVirtualMemory, ZwCreateSection, ZwMapViewOfSection. Patch by Nikolay Borisov (nib9 at aber dot ac dot uk).
- Some tests are currently skipped because they crash or assert on ROS: See ROSTESTS-107, ROSTESTS-108, ROSTESTS-109, ROSTESTS-110.
ROSTESTS-105 #resolve

svn path=/trunk/; revision=58874
2013-04-27 18:33:50 +00:00
Thomas Faber 3acf3b9507 [KMTESTS]
- Centralize frequently used macros

svn path=/trunk/; revision=56733
2012-06-14 17:48:14 +00:00
Thomas Faber e69656b340 [ADVAPI32_APITEST] - Test passing tag, but no group to CreateService
[KMTESTS/MM] - MmSection: Wait for write completion to prevent a random test failure

svn path=/trunk/; revision=53943
2011-10-02 21:42:33 +00:00
Thomas Faber 886e0ff173 [KMTESTS/MM]
- Extend MmSection test to include passing different files and mapping a view

svn path=/trunk/; revision=53810
2011-09-23 11:43:02 +00:00
Thomas Faber b41af56f6e [KMTESTS/MM]
- Add some tests for MmCreateSection involving file objects

svn path=/trunk/; revision=53785
2011-09-21 10:35:33 +00:00
Thomas Faber 2fca6b111a [KMTESTS]
- MmSection: properly clean up on failure
- Some more x64 build fixing

svn path=/trunk/; revision=53712
2011-09-15 16:49:22 +00:00
Thomas Faber 2b17fa159d [KMTESTS]
- Add support for guarded allocations, that can be used to detect buffer overruns
- Add GuardedMemory example test
- Add MmSection test with some basic parameter checks for MmCreateSection
- Fix some x64 build problems
- Update readme

svn path=/trunk/; revision=53687
2011-09-11 11:22:00 +00:00