From 1e5a03eca48fa06130f3adec4edc1457b744ebe0 Mon Sep 17 00:00:00 2001 From: Ken Thomases Date: Tue, 17 Apr 2007 08:20:57 -0500 Subject: [PATCH] shell32/tests: Added to-do test showing a bug with file paths with spaces. If ShellExecuteEx is asked to execute a file which has a space in its path, and if there exists a "masking" file whose name matches the path truncated at a space, then ShellExecuteEx launches the masking file instead. --- dlls/shell32/tests/shlexec.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dlls/shell32/tests/shlexec.c b/dlls/shell32/tests/shlexec.c index f16cb721de2..af07de067b9 100644 --- a/dlls/shell32/tests/shlexec.c +++ b/dlls/shell32/tests/shlexec.c @@ -480,6 +480,8 @@ static const char* testfiles[]= "%s\\test file.shl", "%s\\test file.shlfoo", "%s\\test file.sfe", + "%s\\masked file.shlexec", + "%s\\masked", NULL }; @@ -517,6 +519,9 @@ static filename_tests_t filename_tests[]= {"QuotedLowerL", "%s\\test file.shlexec", 0x0, 33}, {"QuotedUpperL", "%s\\test file.shlexec", 0x0, 33}, + /* Test file masked due to space */ + {NULL, "%s\\masked file.shlexec", 0x1, 33}, + {NULL, NULL, 0} };