Commit f2aa3259 authored by James Hawkins's avatar James Hawkins Committed by Alexandre Julliard

shell32: Test against the long form of the path.

parent cf0420cb
...@@ -533,10 +533,13 @@ static void test_load_save(void) ...@@ -533,10 +533,13 @@ static void test_load_save(void)
if (p) if (p)
*p='\0'; *p='\0';
/* IShellLink returns path in long form */
GetLongPathNameA(mypath, realpath, MAX_PATH);
/* Overwrite the existing lnk file and point it to existing files */ /* Overwrite the existing lnk file and point it to existing files */
desc.description="test 2"; desc.description="test 2";
desc.workdir=mydir; desc.workdir=mydir;
desc.path=mypath; desc.path=realpath;
desc.pidl=NULL; desc.pidl=NULL;
desc.arguments="/option1 /option2 \"Some string\""; desc.arguments="/option1 /option2 \"Some string\"";
desc.showcmd=SW_SHOWNORMAL; desc.showcmd=SW_SHOWNORMAL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment