Commit graph

50 commits

Author SHA1 Message Date
Timo Kreuzer 52fe43e87b [KMTEST] Add a NULL check 2022-12-13 07:18:24 +01:00
Timo Kreuzer 9e12af569f [KMTEST] Handle failure in KmtLoadDriver and KmtOpenDriver 2022-12-13 07:18:24 +01:00
Hermès Bélusca-Maïto 9393fc320e
[FORMATTING] Remove trailing whitespace. Addendum to 34593d93.
Excluded: 3rd-party code (incl. wine) and most of the win32ss.
2021-09-13 03:52:22 +02:00
Serge Gautherie 8c18617fa7
[CMAKE] Fix few copy-paste typos in add_pch() calls (#3508)
Follow-up to e898c9e.
2021-03-06 19:11:56 +01:00
Jérôme Gardou fe5e23e470 [KMTESTS:NTOS_CC] Fix a test format 2021-02-02 10:18:52 +01:00
Jérôme Gardou a46ee7dafe [KMTEST:NTOS_CC] Fix buffer size calculation 2021-02-02 10:15:19 +01:00
Jérôme Gardou 6929451500 [KMTEST] Test what happens when CcSetFileSizes is called with data still mapped at the tail od the file 2020-12-22 11:35:30 +01:00
Jérôme Gardou 115b8290cd [KMTESTS] Add more tests for CcMapData & CcPinRead
Those show the shortcomings of the current implementation in ReactOS
2020-12-22 11:03:51 +01:00
Jérôme Gardou 7bbfde2b49 [KMTESTS] Add more tests for CcCopyRead 2020-12-08 11:48:00 +01:00
Jérôme Gardou 08cf040dd5 [KMTESTS] Add more tests for CcCopyWrite 2020-12-08 11:48:00 +01:00
Victor Perevertkin 7e069ccdb2
[CMAKE] Replace custom functions to built-in ones
add_target_compile_definitions -> target_compile_definitions
add_target_compile_flags -> target_compile_options
add_target_include_directories -> target_include_directories
2020-04-16 15:59:38 +03:00
Pierre Schweitzer 56c4e83fb3
[KMTESTS:CC] Make buffer mapping tests more accurate 2019-07-03 21:39:35 +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 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
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
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
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
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
Pierre Schweitzer 215e48d0bd
[KMTESTS:CC] Addendum to 3fe0e28: use ok_irql.
CORE-14349
2018-02-18 14:51:35 +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
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