shell32: Test against the long form of the path.

This commit is contained in:
James Hawkins 2008-05-26 00:19:54 -05:00 committed by Alexandre Julliard
parent cf0420cbbc
commit f2aa3259b9

View file

@ -533,10 +533,13 @@ static void test_load_save(void)
if (p)
*p='\0';
/* IShellLink returns path in long form */
GetLongPathNameA(mypath, realpath, MAX_PATH);
/* Overwrite the existing lnk file and point it to existing files */
desc.description="test 2";
desc.workdir=mydir;
desc.path=mypath;
desc.path=realpath;
desc.pidl=NULL;
desc.arguments="/option1 /option2 \"Some string\"";
desc.showcmd=SW_SHOWNORMAL;