From a615647435bd017af1993454902982d7a37b3cb3 Mon Sep 17 00:00:00 2001 From: Alex Henrie Date: Tue, 19 Jul 2016 22:43:07 -0600 Subject: [PATCH] shell32/tests: Change to temp dir to be able to remove winetest dir. Signed-off-by: Alex Henrie Signed-off-by: Alexandre Julliard --- 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 80ca8ad38b7..70b6c36f87a 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);