[ros-diffs] [pschweitzer] 56148: [KMTEST] 6 more tests

pschweitzer at svn.reactos.org pschweitzer at svn.reactos.org
Wed Mar 14 13:53:23 UTC 2012


Author: pschweitzer
Date: Wed Mar 14 13:53:22 2012
New Revision: 56148

URL: http://svn.reactos.org/svn/reactos?rev=56148&view=rev
Log:
[KMTEST]
6 more tests

Modified:
    trunk/rostests/kmtests/ntos_fsrtl/FsRtlExpression.c

Modified: trunk/rostests/kmtests/ntos_fsrtl/FsRtlExpression.c
URL: http://svn.reactos.org/svn/reactos/trunk/rostests/kmtests/ntos_fsrtl/FsRtlExpression.c?rev=56148&r1=56147&r2=56148&view=diff
==============================================================================
--- trunk/rostests/kmtests/ntos_fsrtl/FsRtlExpression.c [iso-8859-1] (original)
+++ trunk/rostests/kmtests/ntos_fsrtl/FsRtlExpression.c [iso-8859-1] Wed Mar 14 13:53:22 2012
@@ -207,6 +207,13 @@
     ok(FsRtlIsNameInExpression(&Expression, &Name, FALSE, NULL) == TRUE, "expected TRUE, got FALSE\n");
     RtlInitUnicodeString(&Name, L"acd.exe");
     ok(FsRtlIsNameInExpression(&Expression, &Name, FALSE, NULL) == FALSE, "expected FALSE, got TRUE\n");
+    RtlInitUnicodeString(&Expression, L"a.b<exe");
+    RtlInitUnicodeString(&Name, L"a.bcd.exe");
+    ok(FsRtlIsNameInExpression(&Expression, &Name, FALSE, NULL) == TRUE, "expected TRUE, got FALSE\n");
+    RtlInitUnicodeString(&Expression, L"a<b.exe");
+    ok(FsRtlIsNameInExpression(&Expression, &Name, FALSE, NULL) == FALSE, "expected FALSE, got TRUE\n");
+    RtlInitUnicodeString(&Name, L"a.b.exe");
+    ok(FsRtlIsNameInExpression(&Expression, &Name, FALSE, NULL) == TRUE, "expected TRUE, got FALSE\n");
 
     RtlInitUnicodeString(&Expression, L"abc.exe\"");
     RtlInitUnicodeString(&Name, L"abc.exe");
@@ -424,6 +431,13 @@
     ok(FsRtlIsDbcsInExpression(&Expression, &Name) == TRUE, "expected TRUE, got FALSE\n");
     RtlInitAnsiString(&Name, "acd.exe");
     ok(FsRtlIsDbcsInExpression(&Expression, &Name) == FALSE, "expected FALSE, got TRUE\n");
+    RtlInitAnsiString(&Expression, "a.b<exe");
+    RtlInitAnsiString(&Name, "a.bcd.exe");
+    ok(FsRtlIsDbcsInExpression(&Expression, &Name) == TRUE, "expected TRUE, got FALSE\n");
+    RtlInitAnsiString(&Expression, "a<b.exe");
+    ok(FsRtlIsDbcsInExpression(&Expression, &Name) == FALSE, "expected FALSE, got TRUE\n");
+    RtlInitAnsiString(&Name, "a.b.exe");
+    ok(FsRtlIsDbcsInExpression(&Expression, &Name) == TRUE, "expected TRUE, got FALSE\n");
 
     RtlInitAnsiString(&Expression, "abc.exe\"");
     RtlInitAnsiString(&Name, "abc.exe");




More information about the Ros-diffs mailing list