Jacek Caban : shell32/tests: Ensure that tmpdir contains long path name.

Alexandre Julliard julliard at winehq.org
Wed Feb 19 14:48:16 CST 2014


Module: wine
Branch: master
Commit: cf2098cf2d0f7d7d824589aed82fab74720e6c39
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=cf2098cf2d0f7d7d824589aed82fab74720e6c39

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Wed Feb 19 11:53:21 2014 +0100

shell32/tests: Ensure that tmpdir contains long path name.

---

 dlls/shell32/tests/shlexec.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/dlls/shell32/tests/shlexec.c b/dlls/shell32/tests/shlexec.c
index 10c341f..418b73a 100644
--- a/dlls/shell32/tests/shlexec.c
+++ b/dlls/shell32/tests/shlexec.c
@@ -2540,6 +2540,7 @@ static void init_test(void)
 
     GetTempPathA(sizeof(filename), filename);
     GetTempFileNameA(filename, "wt", 0, tmpdir);
+    GetLongPathNameA(tmpdir, tmpdir, sizeof(tmpdir));
     DeleteFileA( tmpdir );
     rc = CreateDirectoryA( tmpdir, NULL );
     ok( rc, "failed to create %s err %u\n", tmpdir, GetLastError() );




More information about the wine-cvs mailing list