Commit Graph

71 Commits

Author SHA1 Message Date
Pierre Schweitzer
98972036d9 [KMTESTS:CC] Add tests for CcCopyWrite
CORE-15384
2019-04-16 19:50:27 +02:00
Jérôme Gardou
23373acbb9 [CMAKE] Use modules instead of shared libraries
There is no need to compile our DLLs as shared libraries since we are
managing symbols exports and imports through spec files.

On my system, this reduces the configure-time by a factor of two.
2019-04-06 17:43:38 +02:00
Pierre Schweitzer
180d7169e6 [KMTESTS:FSRTL] Add more tests for FsRtlIsNameInExpression
CORE-15902
2019-03-31 11:44:00 +02:00
Thomas Faber
d605b5063f [NTOS:IO] Send IRPs to the correct device in IoVolumeDeviceToDosName. CORE-15415 2019-03-30 10:13:27 +01:00
Pierre Schweitzer
bbfb3caa36 [NTOSKRNL] Add a test for ExUuidCreate 2019-03-02 10:30:00 +01:00
Serge Gautherie
c5d1638e1e [KMTEST] Fix 3 Clang-Cl warnings about Status and Callbacks (#502)
* 1 "warning: variable 'Status' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]"
* 2 "warning: comparison of unsigned expression < 0 is always false [-Wtautological-unsigned-zero-compare]"
* Use a consistent type for "i" and fix a comment
* Also update licence header.

CORE-14306
2019-02-24 17:53:38 +01:00
Thomas Faber
e5fc2b4ce3 [KMTESTS:EX] Add a test that triggers big pool expansion. CORE-15051 2019-01-09 08:18:41 +01:00
Pierre Schweitzer
cdc419eb18 [KMTESTS:CC] Fix a typo, definitely showing this code path is not used during the test 2018-12-23 12:31:14 +01:00
Pierre Schweitzer
34b6a28764 [KMTESTS:CC] Add tests showing a dirty VACB isn't flushed on file growing
CORE-11819
2018-12-23 12:04:39 +01:00
Pierre Schweitzer
0b5c1503c4 [KMTESTS:CC] Add a trace to identify failing tests 2018-12-22 14:36:45 +01:00
Pierre Schweitzer
f7c0236fc1 [KMTESTS:CC] Add more tests for SetFileSizes
These are covered by Thomas' patch.

CORE-11819
2018-12-22 12:42:05 +01:00
Pierre Schweitzer
ba5d6e977b [KMTESTS:CC] Add tests for CcSetFileSizes
These are passing in W2K3 but failing in ReactOS.

CORE-11819
2018-12-22 12:32:02 +01:00
Pierre Schweitzer
7375173b7f [KMTESTS:CC] Add some tests regarding small pinning size (< PAGE_SIZE)
CORE-15384
2018-12-17 20:31:24 +01:00
Serge Gautherie
e94618b7bf [KMTEST:RTL] RtlException: Remove '#if CORE_6640_IS_FIXED'
On behalf of Víctor Martinez.
CORE-8773
2018-12-13 21:36:10 +01:00
Serge Gautherie
a4859bf283 [KMTESTS:MM] Fix 'PAGE_NOACCESS' copypasta, in an error string
ROSTESTS-110
2018-11-03 16:36:24 +01:00
Jérôme Gardou
5d91d52417 [KMTESTS/MM] Enable again accessing forbidden memory.
Also adda test case for the PAGE_GUARD case

ROSTESTS-110
2018-11-03 12:50:16 +01:00
Pierre Schweitzer
3d68c01664 [KMTESTS:CC] Introduce a macro to test public BCB
For now, it's local, but it may be moved to some header
to be shared between tests.
2018-10-28 22:37:59 +01:00
Pierre Schweitzer
f3ea47d94d [KMTESTS:CC] Add more tests for CcPinMappedData() 2018-10-13 19:24:29 +02:00
Pierre Schweitzer
c467169708 [KMTESTS:CC] Properly check for memory allocations 2018-10-13 19:17:00 +02:00
Pierre Schweitzer
ce0650d37d [KMTESTS:CC] Add more tests for CcPinMappedData() 2018-10-13 19:15:48 +02:00
Pierre Schweitzer
e3531499c2 [KMTESTS:CC] Add more tests for CcPinMappedData() 2018-10-13 19:13:07 +02:00
Pierre Schweitzer
991db73e37 [KMTESTS:CC] Add more tests for CcPinMappedData() 2018-10-13 18:53:08 +02:00
Pierre Schweitzer
45231fbbc5 [KMTESTS:CC] Add a test showing our CcPinMappedData() implementation is broken 2018-10-13 14:24:52 +02:00
Pierre Schweitzer
0d90b4dd5f [KMTESTS:CC] A pin BCB has a node type code 2018-10-06 12:09:07 +02:00
Pierre Schweitzer
52ccfcf6fe [KMTESTS:CC] Fix a typo 2018-10-05 21:26:16 +02:00
Serge Gautherie
043faab089 [KMTESTS:TCPIP] Add an "Associate address IRP completed" trace 2018-10-04 18:28:08 +02:00
Serge Gautherie
302144c5ac [KMTESTS:TCPIP] ReturnAddress: Expect NT5 result, not NT6+ one
ROSTESTS-268
2018-10-04 18:17:15 +02:00
Pierre Schweitzer
351ae6b2b4 [KMTESTS:CC] Add tests for CcCopyRead that reproduce CORE-15067
CORE-15067
2018-09-21 08:37:20 +02:00
Pierre Schweitzer
c287bbe586 [KMTESTS:CC] Fix two failing tests on WHS bot 2018-09-08 15:21:01 +02:00
Serge Gautherie
7e95aebfda [KMTESTS:FLTMGR] Hide FltMgrLoad and FltMgrReg
And add "// TODO: WIP/untested/crashes."

ROSTESTS-299
2018-09-07 08:45:50 +01:00
Pierre Schweitzer
01c73317cc [KMTESTS:CC] Add tests showing our CcMapData/CcPinRead raise invalid status 2018-09-02 11:50:23 +02:00
Pierre Schweitzer
9ab21d67ae [KMTESTS:CC] Add tests for BCB extension 2018-09-01 21:52:39 +02:00
Pierre Schweitzer
04a192fa30 [KMTESTS:CC] Add more tests crossing CcPinRead and CcMapData 2018-09-01 21:27:24 +02:00
Pierre Schweitzer
b28f538d20 [KMTESTS:CC] Add tests for PIN_EXCLUSIVE 2018-09-01 15:22:41 +02:00
Pierre Schweitzer
38487d63d8 [KMTESTS:CC] Add a test for pinning without access 2018-09-01 12:41:02 +02:00
Pierre Schweitzer
a4dc3c4963 [KMTESTS:CC] Add tests for PIN_IF_BCB flag 2018-09-01 12:41:01 +02:00
Pierre Schweitzer
6937fa8f41 [KMTESTS:CC] Duplicate tests for CcPinRead
To be extended.
2018-09-01 12:41:01 +02:00
Pierre Schweitzer
b0d1522886 [KMTESTS:CC] Add missing FsRtlEnter/ExitFileSystem() calls
Spotted by Thomas
2018-09-01 12:41:01 +02:00
Pierre Schweitzer
8f284f8a0c [KMTESTS:CC] That wasn't meant to be committed 2018-09-01 12:41:00 +02:00
Pierre Schweitzer
5d04c691af [KMTESTS:CC] Add a test to show we map our buffers wrong in CC
That is expected (cf. CORE-14259)
2018-08-31 23:29:59 +02:00
Pierre Schweitzer
1b9b4c48c9 [KMTESTS:CC] Remove dummy leftover 2018-08-31 23:08:25 +02:00
Pierre Schweitzer
262e5bfef1 [KMTESTS:CC] Extended previous test to show an overlap is enough 2018-08-31 23:07:46 +02:00
Pierre Schweitzer
ad0c93b001 [KMTESTS:CC] Add a test that shows that our CC implementation duplicates BCB
It should instead reuse BCBs when mapping something already mapped.
2018-08-31 23:01:06 +02:00
Serge Gautherie
3f65f3a51d [KMTESTS] Re-enable kmtest_.exe installation (#389)
ExPools and other tests don't break Windows Server 2003 anymore.

Revert r73535, so KmTests run on "Test WHS" bot.

CORE-12657
2018-08-31 08:46:48 +02:00
Pierre Schweitzer
3f9f5f7080 [KMTESTS:FSRTL] Add tests for the FsRtlIsAnsiCharacter* macro
This covers: FsRtlIsAnsiCharacterWild, FsRtlIsAnsiCharacterLegalFat, FsRtlIsAnsiCharacterLegalHpfs,
FsRtlIsAnsiCharacterLegalNtfs, FsRtlIsAnsiCharacterLegalNtfsStream
2018-08-25 14:26:50 +02:00
Pierre Schweitzer
fcbcdf7073 [KMTESTS:FSRTL] Add tests for FsRtlLegalAnsiCharacterArray
These are failing in ReactOS due to the lack of the OLE flag support.
2018-08-25 14:26:49 +02:00
Pierre Schweitzer
c79e5dc476 [KMTESTS:MM] Properly clean up files
This fixes driver unloading on Windows.

ROSTESTS-266
2018-08-12 10:05:25 +02:00
Serge Gautherie
7d6bda16c6 [REACTOS] Improve how some ASSERTMSG() message values are printed: enforce ending "\n".
NB: Not touching calls in "third-party" code: class and classpnp.
2018-08-08 22:03:45 +02:00
Timo Kreuzer
a265dc9ce1 [KMTESTS] Fix 64 bit issues 2018-08-04 14:39:13 +02:00
Mark Jansen
e6ea0bcbbf [KMTESTS] Add compile time asserts for IO_STACK_LOCATION offsets
CORE-14782
2018-07-25 20:22:36 +02:00