00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
#ifndef _SERTL_DEBUG_
00028
#define _SERTL_DEBUG_
00029
#endif
00030
00031 #define _TST_KERNEL_ //Kernel mode test
00032
00033
#include <stdio.h>
00034
00035
#include "sep.h"
00036
00037
#include <zwapi.h>
00038
00039
#include "tsevars.c"
00040
00041
#include "ctsertl.c"
00042
00043
00044 BOOLEAN
SeRtlTest();
00045
00046
int
00047 main(
00048
int argc,
00049
char *argv[]
00050 )
00051 {
00052
VOID KiSystemStartup();
00053
00054
TestFunction =
SeRtlTest;
00055
KiSystemStartup();
00056
return( 0 );
00057 }
00058
00059
00060 BOOLEAN
00061 SeRtlTest()
00062 {
00063
00064 BOOLEAN Result;
00065
00066
DbgPrint(
"Se: Start Kernel Mode RTL Test...\n");
00067
00068 Result =
TestSeRtl();
00069
00070
if (!Result) {
00071
DbgPrint(
"Se: ** Kernel Mode RTL Test Failed **\n");
00072 }
00073
DbgPrint(
"Se: End Kernel Mode RTL Test.\n");
00074
return Result;
00075 }
00076