mirror of
https://github.com/reactos/reactos.git
synced 2024-08-19 18:02:55 +00:00
![Pierre Schweitzer](/assets/img/avatar_default.png)
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
49 lines
1.6 KiB
C
49 lines
1.6 KiB
C
/*
|
|
* PROJECT: ReactOS kernel-mode tests
|
|
* LICENSE: GPLv2+ - See COPYING in the top level directory
|
|
* PURPOSE: Kernel-Mode Test Suite user-mode test list
|
|
* PROGRAMMER: Thomas Faber <thomas.faber@reactos.org>
|
|
*/
|
|
|
|
#include <kmt_test.h>
|
|
|
|
KMT_TESTFUNC Test_CcCopyRead;
|
|
KMT_TESTFUNC Test_Example;
|
|
KMT_TESTFUNC Test_FindFile;
|
|
KMT_TESTFUNC Test_IoCreateFile;
|
|
KMT_TESTFUNC Test_IoDeviceObject;
|
|
KMT_TESTFUNC Test_IoReadWrite;
|
|
KMT_TESTFUNC Test_PoIrp;
|
|
KMT_TESTFUNC Test_RtlAvlTree;
|
|
KMT_TESTFUNC Test_RtlException;
|
|
KMT_TESTFUNC Test_RtlIntSafe;
|
|
KMT_TESTFUNC Test_RtlMemory;
|
|
KMT_TESTFUNC Test_RtlRegistry;
|
|
KMT_TESTFUNC Test_RtlSplayTree;
|
|
KMT_TESTFUNC Test_RtlUnicodeString;
|
|
KMT_TESTFUNC Test_TcpIpIoctl;
|
|
KMT_TESTFUNC Test_TcpIpTdi;
|
|
KMT_TESTFUNC Test_TcpIpConnect;
|
|
|
|
/* tests with a leading '-' will not be listed */
|
|
const KMT_TEST TestList[] =
|
|
{
|
|
{ "CcCopyRead", Test_CcCopyRead },
|
|
{ "-Example", Test_Example },
|
|
{ "FindFile", Test_FindFile },
|
|
{ "IoCreateFile", Test_IoCreateFile },
|
|
{ "IoDeviceObject", Test_IoDeviceObject },
|
|
{ "IoReadWrite", Test_IoReadWrite },
|
|
{ "PoIrp", Test_PoIrp },
|
|
{ "RtlAvlTree", Test_RtlAvlTree },
|
|
{ "RtlException", Test_RtlException },
|
|
{ "RtlIntSafe", Test_RtlIntSafe },
|
|
{ "RtlMemory", Test_RtlMemory },
|
|
{ "RtlRegistry", Test_RtlRegistry },
|
|
{ "RtlSplayTree", Test_RtlSplayTree },
|
|
{ "RtlUnicodeString", Test_RtlUnicodeString },
|
|
{ "TcpIpTdi", Test_TcpIpTdi },
|
|
{ "TcpIpConnect", Test_TcpIpConnect },
|
|
{ NULL, NULL },
|
|
};
|