Pierre Schweitzer
56c4e83fb3
[KMTESTS:CC] Make buffer mapping tests more accurate
2019-07-03 21:39:35 +02:00
Pierre Schweitzer
f529033555
[KMTESTS:OB] Add support for LUID mappings being disabled in ObSecurity tests
...
CORE-16114
2019-06-30 23:07:54 +02:00
Serge Gautherie
73938ee96f
[ROSTESTS] Add missing '\n' to a few skip()
2019-06-06 17:33:59 +02:00
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
Serge Gautherie
0c683c264c
[KMTEST] Check/Wait for start/stop of services to complete
...
This is cleaner behavior and lets report failures.
- Create KmtEnsureServiceState(),
called at end of KmtStartService() and KmtStopService().
- Create KmtGetServiceStateAsString(),
called from KmtEnsureServiceState().
ROSTESTS-263
2018-05-17 16:17:36 +01:00
Pierre Schweitzer
d7abae76b8
[KMTESTS:MM] Truncate file cache on uninitialize to avoid leaking a reference.
...
ROSTESTS-266
2018-03-22 22:35:19 +01:00
Thomas Faber
d7ad37a165
[KMTESTS:CC] Truncate file cache on uninitialize to avoid leaking a reference. ROSTESTS-264 ROSTESTS-300
2018-03-17 16:39:23 +01:00
Hermès Bélusca-Maïto
ab8470d8bb
[KMTESTS:CC] Fix MSVC build.
2018-03-10 18:51:21 +01:00
Pierre Schweitzer
47a084303a
[KMTESTS:CC] Add some tests for CcMapData
...
To be extended.
2018-03-10 11:14:33 +01:00
Serge Gautherie
e8271c9a46
[KMTESTS:FSRTL] Fix all FsRtlLargeMcbTestsFastFat() checks
...
Addendum to 22037684e4
.
- Result: check "== FALSE" not "= TRUE".
- Report compared values, not different ones.
CORE-11819
2018-02-22 22:26:34 +01:00
Pierre Schweitzer
22037684e4
[KMTESTS:FSRTL] Add a few more tests matching MS FastFAT.
...
CORE-11819
2018-02-21 22:53:30 +01:00
Thomas Faber
4487284c17
[KMTESTS:FSRTL] Avoid writing to string literals. ROSTESTS-298
2018-02-21 15:17:58 +01:00
Pierre Schweitzer
215e48d0bd
[KMTESTS:CC] Addendum to 3fe0e28
: use ok_irql.
...
CORE-14349
2018-02-18 14:51:35 +01:00
Serge Gautherie
45aa179386
[KMTESTS:IO] Fix a Clang-Cl warning about NameLength
...
"warning: variable 'NameLength' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]"
CORE-14306
2018-02-18 14:14:56 +01:00
Thomas Faber
0cc3f19b80
[KMTESTS:IO] Correctly free name in IoFilesystem's TestAllInformation.
...
Spotted by Serge Gautherie.
2018-02-18 14:14:54 +01:00
Serge Gautherie
9bc2a27393
[KMTESTS:NPFS] Fix 2 Clang-Cl warnings about ShareAccess
...
"warning: variable 'ShareAccess' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]"
CORE-14306
2018-02-18 14:14:52 +01:00
Pierre Schweitzer
3fe0e280b1
[KMTESTS:CC] Add IRQL tests for CcCopyRead showing that a spinlock is held during Cc IO operations.
...
CORE-14349
2018-02-18 14:00:38 +01:00
Thomas Faber
a9ba7a3f9e
[KMTESTS] Change license to LGPL and update to SPDX headers.
...
Permission for this change was given by all authors
(who are now mentioned in the copyright lines).
2018-02-18 11:22:09 +01:00
Thomas Faber
478bfb484a
[KMTESTS:TCPIP] Fix ok() messages.
2018-01-31 10:38:13 +01:00
Serge Gautherie
1971137a5f
[KMTEST] TcpIpConnect: Fix harmless typos ( #299 )
...
- 1 s/ok_bool_true/ok/, overkill though harmless.
- 1 s/ntohs/htons/, typo though harmless.
ROSTESTS-274
2018-01-27 11:50:10 +02:00
Thomas Faber
2cb0c129a6
[KMTESTS] Use KeClearEvent instead of KeResetEvent where the previous state is not needed.
2017-12-30 11:46:14 +01:00
Ged Murphy
dfb776380d
[FLTMGR] Latest from my branch ( #135 )
...
[FLTMGR][KMTEST]
Squash and push my local branch across to master as the patch is getting a bit large. This is still WIP and none of this code is run in ros yet, so don't fret if you see ugly/unfinished code or int3's dotted around.
[FLTMGR] Improve loading/reg of filters and start to implement client connections
- Implement handling of connections from clients
- Implement closing of client ports
- Add a basic message waiter queue using CSQ's (untested)
- Hand off messages for the comms object to be handled by the comms file
- Initialize the connection list
- Add a registry file which will contain lib functions for accessing filter service entries
- [KMTEST] Initial usermode support for testing FS mini-filters
- Add base routines to wrap the win32 'Filter' APis
- Add support routines to be used when testing FS filter drivers
- Move KmtCreateService to a private routine so it can be shared with KmtFltCreateService
- Completely untested at the mo, so likely contains bugs at this point
- Add support for adding altitude and flags registry entries for minifilters
- Allow minifilters to setup without requiring instance attach/detach callbacks
- Add tests for FltRegisterFilter and FltUnregisterFilter and start to add associated tests
2017-11-21 16:36:29 +00:00
Ged Murphy
b10dd06aa5
[KMTEST] Initial usermode support for testing FS mini-filters ( #81 )
...
* [KMTEST] Initial usermode support for testing FS mini-filters
- Add base routines to wrap the win32 'Filter' APis
- Add support routines to be used when testing FS filter drivers
- Move KmtCreateService to a private routine so it can be shared with KmtFltCreateService
- Completely untested at the mo, so likely contains bugs at this point
2017-10-25 10:39:55 +01:00
Ged Murphy
9d15fb9279
Start to implement fltmgr tests [WIP] ( #52 )
...
[FLTMGR]
- Partially implement registering contexts
- Add a misc file which contains stubs of the APIs needed in the test suite
- Export some APIs needed by the test suite
[KMTESTS]
- Create a File System Mini-filter wrapper to host drivers for the filter manager tests
- Add a test file which will be used for testing that mini-filters load correctly
- Add a test file which will be used to write tests for IRP_MJ_CREATE requests
2017-10-12 15:32:30 +01:00
Colin Finck
c2c66aff7d
Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys.
2017-10-03 07:45:34 +00:00