From: Yuxuan Shui yshui@codeweavers.com
--- dlls/shell32/tests/shlexec.c | 5 ----- 1 file changed, 5 deletions(-)
diff --git a/dlls/shell32/tests/shlexec.c b/dlls/shell32/tests/shlexec.c index 0e5d7cab5d2..92219bd58e6 100644 --- a/dlls/shell32/tests/shlexec.c +++ b/dlls/shell32/tests/shlexec.c @@ -2062,13 +2062,8 @@ static void test_find_executable(void) /* Make sure FindExecutable uses the correct current directory */ GetCurrentDirectoryA(MAX_PATH, curdir); SetCurrentDirectoryA(tmpdir); - rc=CreateDirectoryA("tmpdir", NULL); - ok(rc || GetLastError() == ERROR_ALREADY_EXISTS, "Failed to create 'tmpdir' err %lu\n", GetLastError()); - SetCurrentDirectoryA("tmpdir"); rc=(INT_PTR)FindExecutableA(basename, NULL, command); todo_wine ok(rc == SE_ERR_FNF, "FindExecutable(%s) returned %Id\n", basename, rc); - SetCurrentDirectoryA(".."); - RemoveDirectoryA("tmpdir"); SetCurrentDirectoryA(curdir);
sprintf(filename, "%s\test file.sfe", tmpdir);