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

Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alex Henrie 2016-07-19 22:43:07 -06:00 committed by Alexandre Julliard
parent de37f020a2
commit a615647435
1 changed files with 2 additions and 0 deletions

View File

@ -428,6 +428,8 @@ todo_wine
ok(!verbs, "verbs is not null\n"); ok(!verbs, "verbs is not null\n");
} }
GetTempPathW(MAX_PATH, wstr);
SetCurrentDirectoryW(wstr);
RemoveDirectoryW(winetestW); RemoveDirectoryW(winetestW);
SetCurrentDirectoryW(orig_dir); SetCurrentDirectoryW(orig_dir);