Module: wine Branch: master Commit: 1e5a03eca48fa06130f3adec4edc1457b744ebe0 URL: http://source.winehq.org/git/wine.git/?a=commit;h=1e5a03eca48fa06130f3adec4e...
Author: Ken Thomases ken@codeweavers.com Date: Tue Apr 17 08:20:57 2007 -0500
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 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/dlls/shell32/tests/shlexec.c b/dlls/shell32/tests/shlexec.c index f16cb72..af07de0 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} };