Module: wine Branch: master Commit: f2aa3259b913d75a273296f2850025cd8bb05f3d URL: http://source.winehq.org/git/wine.git/?a=commit;h=f2aa3259b913d75a273296f285... Author: James Hawkins <jhawkins(a)codeweavers.com> Date: Mon May 26 00:19:54 2008 -0500 shell32: Test against the long form of the path. --- dlls/shell32/tests/shelllink.c | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/dlls/shell32/tests/shelllink.c b/dlls/shell32/tests/shelllink.c index ec3481a..27e8032 100644 --- a/dlls/shell32/tests/shelllink.c +++ b/dlls/shell32/tests/shelllink.c @@ -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;