Author: pschweitzer
Date: Mon Feb  7 21:38:55 2011
New Revision: 50614

URL: http://svn.reactos.org/svn/reactos?rev=50614&view=rev
Log:
[KMTEST]
Adding a new test for FsRtlIsNameInExpression(). Which is failing...
Will that end a day?!

Modified:
    trunk/rostests/drivers/kmtest/ntos_fsrtl.c

Modified: trunk/rostests/drivers/kmtest/ntos_fsrtl.c
URL: 
http://svn.reactos.org/svn/reactos/trunk/rostests/drivers/kmtest/ntos_fsrtl.c?rev=50614&r1=50613&r2=50614&view=diff
==============================================================================
--- trunk/rostests/drivers/kmtest/ntos_fsrtl.c [iso-8859-1] (original)
+++ trunk/rostests/drivers/kmtest/ntos_fsrtl.c [iso-8859-1] Mon Feb  7 21:38:55 
2011
@@ -135,6 +135,10 @@
     ok(FsRtlIsNameInExpression(&Expression, &Name, FALSE, NULL) == TRUE, 
"expected TRUE, got FALSE");
     RtlInitUnicodeString(&Name, L"ntoskrnl.exe.");
     ok(FsRtlIsNameInExpression(&Expression, &Name, FALSE, NULL) == TRUE, 
"expected TRUE, got FALSE");
+
+    RtlInitUnicodeString(&Expression, L"*.c.d");
+    RtlInitUnicodeString(&Name, L"a.b.c.d");
+    ok(FsRtlIsNameInExpression(&Expression, &Name, FALSE, NULL) == TRUE, 
"expected TRUE, got FALSE");
 }
 
 VOID FsRtlIsDbcsInExpressionTest()
@@ -242,6 +246,10 @@
     RtlInitAnsiString(&Name, "ntoskrnl.exe");
     ok(FsRtlIsDbcsInExpression(&Expression, &Name) == TRUE, "expected TRUE, 
got FALSE");
     RtlInitAnsiString(&Name, "ntoskrnl.exe.");
+    ok(FsRtlIsDbcsInExpression(&Expression, &Name) == TRUE, "expected TRUE, 
got FALSE");
+
+    RtlInitAnsiString(&Expression, "*.c.d");
+    RtlInitAnsiString(&Name, "a.b.c.d");
     ok(FsRtlIsDbcsInExpression(&Expression, &Name) == TRUE, "expected TRUE, 
got FALSE");
 }
 


Reply via email to