shell32/tests: Fix the shortcut vs. class interaction test.
Francois Gouget
fgouget at codeweavers.com
Sun Jan 10 19:18:40 CST 2016
Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
dlls/shell32/tests/shlexec.c | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/dlls/shell32/tests/shlexec.c b/dlls/shell32/tests/shlexec.c
index 047d041..10c983b 100644
--- a/dlls/shell32/tests/shlexec.c
+++ b/dlls/shell32/tests/shlexec.c
@@ -2005,11 +2005,12 @@ static void test_lnks(void)
okChildInt("argcA", 4);
okChildString("argvA3", "Lnk");
- /* Lnk's ContextMenuHandler has priority over an explicit class */
- rc=shell_execute_ex(SEE_MASK_NOZONECHECKS, NULL, filename, NULL, NULL, "shlexec.shlexec");
+ /* An explicit class overrides lnk's ContextMenuHandler */
+ rc=shell_execute_ex(SEE_MASK_CLASSNAME | SEE_MASK_NOZONECHECKS, NULL, filename, NULL, NULL, "shlexec.shlexec");
ok(rc > 32, "%s failed: rc=%lu err=%u\n", shell_call, rc, GetLastError());
- okChildInt("argcA", 4);
- okChildString("argvA3", "Lnk");
+ okChildInt("argcA", 5);
+ okChildString("argvA3", "Open");
+ okChildString("argvA4", filename);
if (dllver.dwMajorVersion>=6)
{
--
2.6.4
More information about the wine-patches
mailing list