[PATCH 11/12] shell32/tests: Test handling of nonexistent verbs in ShellExecute() & co.

Francois Gouget fgouget at free.fr
Mon Jan 4 16:32:17 CST 2016


Signed-off-by: Francois Gouget <fgouget at free.fr>
---
 dlls/shell32/tests/shlexec.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/dlls/shell32/tests/shlexec.c b/dlls/shell32/tests/shlexec.c
index 1423e79..14fb75f 100644
--- a/dlls/shell32/tests/shlexec.c
+++ b/dlls/shell32/tests/shlexec.c
@@ -925,11 +925,13 @@ static filename_tests_t filename_tests[]=
 
     /* Test alternate verbs */
     {"LowerL",       "%s\\nonexistent.shlexec", 0x0, SE_ERR_FNF},
-    {"LowerL",       "%s\\test file.noassoc",   0x0,  SE_ERR_NOASSOC},
+    {"LowerL",       "%s\\test file.noassoc",   0x0, SE_ERR_NOASSOC},
 
     {"QuotedLowerL", "%s\\test file.shlexec",   0x0, 33},
     {"QuotedUpperL", "%s\\test file.shlexec",   0x0, 33},
 
+    {"notaverb",     "%s\\test file.shlexec",   0x10, SE_ERR_NOASSOC},
+
     /* Test file masked due to space */
     {NULL,           "%s\\masked file.shlexec",   0x0, 33},
     /* Test if quoting prevents the masking */
-- 
2.6.4




More information about the wine-patches mailing list