Alex Henrie : shell32/tests: Change to temp dir to be able to remove winetest dir.

Alexandre Julliard julliard at winehq.org
Wed Jul 20 10:28:53 CDT 2016


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

Author: Alex Henrie <alexhenrie24 at gmail.com>
Date:   Tue Jul 19 22:43:07 2016 -0600

shell32/tests: Change to temp dir to be able to remove winetest dir.

Signed-off-by: Alex Henrie <alexhenrie24 at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/shell32/tests/shelldispatch.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/dlls/shell32/tests/shelldispatch.c b/dlls/shell32/tests/shelldispatch.c
index 80ca8ad..70b6c36 100644
--- a/dlls/shell32/tests/shelldispatch.c
+++ b/dlls/shell32/tests/shelldispatch.c
@@ -428,6 +428,8 @@ todo_wine
         ok(!verbs, "verbs is not null\n");
     }
 
+    GetTempPathW(MAX_PATH, wstr);
+    SetCurrentDirectoryW(wstr);
     RemoveDirectoryW(winetestW);
     SetCurrentDirectoryW(orig_dir);
 




More information about the wine-cvs mailing list