Commit graph

49 commits

Author SHA1 Message Date
Dmitry Chapyshev
1a8c432587 [KMTEST]
- Implement tests for RtlIsValidOemCharacter function

svn path=/trunk/; revision=72579
2016-09-04 22:15:53 +00:00
Pierre Schweitzer
9c749a7606 [KMTESTS]
Add missing dependency

svn path=/trunk/; revision=72019
2016-07-27 16:40:30 +00:00
Thomas Faber
8e4e756180 [KMTESTS:OB]
- Add a test for ZwCreateSymbolicLinkObject/ZwQuerySymbolicLinkObject
CORE-11509

svn path=/trunk/; revision=71770
2016-07-03 08:31:28 +00:00
Pierre Schweitzer
4de2debfbb [KMTESTS:CC]
Introduce tests for Cc :-)
Currently, we only test CcCopyRead for specific alignment matters. It shows that under certain conditions, our Cc doesn't align reads it does, leading to later failure in disk.sys.
This reproduces an error observed with MS FastFAT in ReactOS.

CORE-11003

svn path=/trunk/; revision=71445
2016-05-28 19:59:10 +00:00
Amine Khaldi
248dcd328b * Addendum to r71184. CORE-9111
svn path=/trunk/; revision=71185
2016-04-20 12:39:37 +00:00
Pierre Schweitzer
ef0b98d6fb [KMTESTS]
- Define a new macro function KmtGetSystemOrEmbeddedRoutineAddress() which is to be used to get a function address from Mm if it exists system-wide or to fallback to embedded function if it doesn't exist
- Use this mechanism to add tests for the newly implemented FsRtlRemoveDotsFromPath() which is Vista+.

That allows, with a single build (and thus, same binaries), testing a function in ReactOS and in Windows. 

svn path=/trunk/; revision=71046
2016-03-25 18:53:43 +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
Thomas Faber
8160fdc383 [KMTESTS:IO]
- Add a test verifying that opening a file using different parent directories still yields handles to the same file
CORE-10483

svn path=/trunk/; revision=69877
2015-11-12 12:55:26 +00:00
Thomas Faber
1ac16d7595 [KMTESTS]
- Sssh, these tests are secret

svn path=/trunk/; revision=69567
2015-10-17 15:56:52 +00:00
Thomas Faber
8661787353 [KMTESTS:OB]
- Add ObHandle test that verifies a couple ZwDuplicateObject behaviors 

svn path=/trunk/; revision=69566
2015-10-17 15:50:25 +00:00
Thomas Faber
073a2904ca [KMTESTS:PO]
- Add a test for PoRequestPowerIrp

svn path=/trunk/; revision=69499
2015-10-11 17:06:14 +00:00
Thomas Faber
0f64d20e8a [CRT]
- Add "memcmp" library that is used by kernel drivers to get memcmp/RtlEqualMemory
CORE-10285 #resolve

svn path=/trunk/; revision=69413
2015-09-29 17:24:48 +00:00
Pierre Schweitzer
3ee5af9d50 [KMTESTS:OB]
Add a test dedicated to Stefan.

svn path=/trunk/; revision=69398
2015-09-28 12:25:38 +00:00
Pierre Schweitzer
9e06c66b38 [KMTESTS:IO]
Extend the IoCreateFile tests with two parts tests.
First part properly checks for opening/reparse handling on mount points (and ideally on symlinks, see below).
The other part checks for proper handling of the IO_STOP_ON_SYMLINK parameter.

Regarding symlink, I'm clearly not convinced that what I did is correct (hence the failure on both W2K3 & ROS). It seems to me that symlink resolution is up to the FSD and not to IO which only handles mount point traversal.
If someone (Alex?) can confirm/infirm and give more insight, that's more than welcome.

svn path=/trunk/; revision=69322
2015-09-22 22:31:08 +00:00
Thomas Faber
567c098f48 [KMTESTS:CM]
- Add a test for registry hive security descriptors

svn path=/trunk/; revision=69265
2015-09-18 11:06:11 +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
4f3a4a5c04 [CMAKE]
- Fix more missing dependencies on xdk
CORE-9586

svn path=/trunk/; revision=69086
2015-09-07 10:05:42 +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
Thomas Faber
abb2dff020 [KMTESTS:IO]
- Add a test for the interaction between NtReadFile and a file system driver
CORE-9624

svn path=/trunk/; revision=67487
2015-05-01 11:03:21 +00:00
Jérôme Gardou
fcddf62f18 [KMTEST/TCPIP]
- Add tests checking for TDI_CONNECT behaviour.

svn path=/trunk/; revision=66180
2015-02-06 10:49:04 +00:00
Jérôme Gardou
e07183a73b [KMTESTS]
- Fix typo

svn path=/trunk/; revision=65548
2014-12-02 18:08:33 +00:00
Jérôme Gardou
a928f15f42 [KMTEST]
- Add some tests for tcpip.sys TDI capabilities (for now, TDI_PROVIDER_INFO)

svn path=/trunk/; revision=65546
2014-12-02 18:06:48 +00:00
Thomas Faber
418629f6a9 [KMTESTS:SE]
- Add a test for SeAssignSecurity[Ex]
CORE-8745

svn path=/trunk/; revision=65258
2014-11-04 22:42:15 +00:00
Amine Khaldi
c0e495f046 [CMAKE]
* Addendum to r64795.
* Also remove unneeded wine linking and ntdll importing.
* Remove redundant defines.

svn path=/trunk/; revision=64796
2014-10-17 23:29:24 +00:00
Pierre Schweitzer
e620c729eb [KMTESTS:IO]
Add tests for IoCreateFile for target directory open.
They will fail on ReactOS.

svn path=/trunk/; revision=62934
2014-04-23 19:44:03 +00:00
Pierre Schweitzer
4d1dfdbc1b [KMTESTS:NPFS]
Add more tests for file info

Tested by Thomas.

CORE-7451

svn path=/trunk/; revision=62742
2014-04-13 16:16:30 +00:00
Pierre Schweitzer
77ef29ad79 [KMTESTS:NPFS]
Add tests for volume information query. Could be completed for size, device, full size and attributes query.
This is used to validate changes made in r62663.

Tested by Thomas.

CORE-7451

svn path=/trunk/; revision=62717
2014-04-12 12:06:47 +00:00
Thomas Faber
08df30bc8b [KMTESTS:NPFS]
- Add some (pretty incomplete) tests for NPFS Create, Connect and Read/Write operations
CORE-7451

svn path=/trunk/; revision=62695
2014-04-09 18:00:33 +00:00
Thomas Faber
a42481108c [KMTEST:IO]
- Disable IoRegisterDeviceInterface test, since it crashes on Windows
- Add test showing that IoRegisterPlugPlayNotification's callback receives the full path to the symbolic link (this was fixed in r62249)

svn path=/trunk/; revision=62553
2014-03-23 17:24:10 +00:00
Thomas Faber
d0205eba98 [KMTESTS:RTL]
- Add RtlIntSafe test for ntintsafe.h functions
CORE-7578

svn path=/trunk/; revision=60991
2013-11-14 09:19:16 +00:00
Thomas Faber
2d6aa7e6da [KMTESTS:RTL]
- Add test for REG_MULTI_SZ in RtlQueryRegistryValues

svn path=/trunk/; revision=59544
2013-07-20 19:33:13 +00:00
Aleksey Bragin
881c40e133 [KMTEST]
- Implement simple KeDeviceQueue test by Moscow State Technical University students. Improvements are welcome.

svn path=/trunk/; revision=59188
2013-06-08 10:19:26 +00:00
Aleksey Bragin
73f6b44f85 [KMTEST]
- Add tests for SeQueryInformationToken NTAPI. By Moscow State Technical University students Constantine Belev, Denis Grishin, Egor Sinitsyn.
- Disabled from testbot because they bugcheck ReactOS (unimplemented functions bugcheck). Work in progress...

svn path=/trunk/; revision=59178
2013-06-05 23:16:14 +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
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
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
Thomas Faber
3e16da2604 [KMTESTS]
- Add a kernel32 test (I know right) to check how FindFirstFile* modifies wildcards
ROSTESTS-104 #resolve

svn path=/trunk/; revision=58813
2013-04-21 19:00:10 +00:00
Amine Khaldi
9e87af1372 [CMAKE]
* Remove unneeded set_rc_compiler.

svn path=/trunk/; revision=57965
2012-12-22 10:46:37 +00:00
Thomas Faber
f00cc3de89 [KMTESTS:KE]
- Add test for KeInitializeMutant vs KeInitializeMutex. Dedicated to Mike.

svn path=/trunk/; revision=57408
2012-09-28 07:09:08 +00:00
Thomas Faber
46029920aa [KMTEST:IO]
- Add a test for IoCreateNotificationEvent/IoCreateSynchronizationEvent

svn path=/trunk/; revision=57359
2012-09-21 22:12:47 +00:00
Timo Kreuzer
726210791f [KMTEST]
Include strnlen.c and wcsnlen.c in kmtest_printf (needed for upcoming change)

svn path=/trunk/; revision=56826
2012-07-04 18:51:34 +00:00
Thomas Faber
4cef479813 [KMTESTS]
- Add minimal ExCallback and PsNotify tests
See issue #7120 for more details.

svn path=/trunk/; revision=56734
2012-06-14 18:43:32 +00:00
Amine Khaldi
04de8061da [KMTEST_DRV]
* Link to chkstk.

svn path=/trunk/; revision=56559
2012-05-10 13:05:37 +00:00
Thomas Faber
0515cd1d2e [KMTESTS/RTL]
- Add a small RtlException test, mainly to check that a stack overflow really throws STATUS_STACK_OVERFLOW, not STATUS_ACCESS_VIOLATION.

svn path=/trunk/; revision=56434
2012-04-27 08:36:58 +00:00
Thomas Faber
1a908c8114 [KMTESTS/OB]
- Add ObTypes test that checks all object types that should be present on Windows

svn path=/trunk/; revision=56379
2012-04-21 09:06:54 +00:00
Thomas Faber
b2d43ccd3c [KMTESTS/RTL]
- Add a test for RtlFindCharInUnicodeString

svn path=/trunk/; revision=54090
2011-10-12 11:25:34 +00:00
Rafal Harabien
b2b0280779 [KMTESTS\NTOS_KE] - Add KeTimer test stub which tests only KeInitializeTimerEx (Note: this function initializes more fields of dispatch header than KeInitializeEvent).
svn path=/trunk/; revision=54047
2011-10-07 16:13:03 +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
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