[KMTESTS]
authorThomas Faber <thomas.faber@reactos.org>
Sun, 21 Apr 2013 20:47:52 +0000 (20:47 +0000)
committerThomas Faber <thomas.faber@reactos.org>
Sun, 21 Apr 2013 20:47:52 +0000 (20:47 +0000)
- Add a few more tests for FindFirstFile
- Silence kmtest debugging

svn path=/trunk/; revision=58819

rostests/kmtests/kernel32/FindFile_user.c
rostests/kmtests/kmtest_drv/kmtest_drv.c
rostests/kmtests/kmtest_drv/kmtest_standalone.c

index 08c412b..45a95a0 100644 (file)
@@ -61,6 +61,30 @@ START_TEST(FindFile)
         { L"?a?",       L">a>" },
         { L"a?a?a",     L"a>a>a" },
 
+        { L"?.?",        L">\">" },
+        { L"a?.?",       L"a>\">" },
+        { L"?.?a",       L">\">a" },
+        { L"a?.?a",      L"a>\">a" },
+        { L"?.??.?",     L">\">>\">" },
+        { L"?.?a?.?",    L">\">a>\">" },
+        { L"a?.?a?.?a",  L"a>\">a>\">a" },
+
+        { L".?",         L"\">" },
+        { L"a.?",        L"a\">" },
+        { L".?a",        L"\">a" },
+        { L"a.?a",       L"a\">a" },
+        { L".?.?",       L"\">\">" },
+        { L".?a.?",      L"\">a\">" },
+        { L"a.?a.?a",    L"a\">a\">a" },
+
+        { L"?.",         L">" },
+        { L"a?.",        L"a>" },
+        { L"?.a",        L">.a" },
+        { L"a?.a",       L"a>.a" },
+        { L"?.?.",       L">\">" },
+        { L"?.a?.",      L">.a>" },
+        { L"a?.a?.a",    L"a>.a>.a" },
+
         { L"f*.",       L"f<" },
         { L"f.*",       L"f\"*" },
         { L"f*.*",      L"f<\"*" },
index 0c27dc3..580eb0f 100644 (file)
@@ -12,7 +12,7 @@
 #include <limits.h>
 #include <pseh/pseh2.h>
 
-//#define NDEBUG
+#define NDEBUG
 #include <debug.h>
 
 #include <kmt_public.h>
index d59f46d..cce8e0d 100644 (file)
@@ -12,7 +12,7 @@
 #define KMT_DEFINE_TEST_FUNCTIONS
 #include <kmt_test.h>
 
-//#define NDEBUG
+#define NDEBUG
 #include <debug.h>
 
 #include <kmt_public.h>