shell32/tests: Fix remaining failures on WinMe.

This commit is contained in:
Paul Vriens 2009-10-09 08:50:55 +02:00 committed by Alexandre Julliard
parent 84cb7031f4
commit 856be7c9a7
1 changed files with 2 additions and 1 deletions

View File

@ -2073,9 +2073,10 @@ static void test_sh_path_prepare(void)
WideCharToMultiByte(CP_ACP, 0, UNICODE_PATH, -1, UNICODE_PATH_A, sizeof(UNICODE_PATH_A), NULL, NULL); WideCharToMultiByte(CP_ACP, 0, UNICODE_PATH, -1, UNICODE_PATH_A, sizeof(UNICODE_PATH_A), NULL, NULL);
/* unicode directory doesn't exist, SHPPFW_NONE */ /* unicode directory doesn't exist, SHPPFW_NONE */
RemoveDirectoryA(UNICODE_PATH_A);
res = pSHPathPrepareForWriteW(0, 0, UNICODE_PATH, SHPPFW_NONE); res = pSHPathPrepareForWriteW(0, 0, UNICODE_PATH, SHPPFW_NONE);
ok(res == HRESULT_FROM_WIN32(ERROR_PATH_NOT_FOUND), "res == %08x, expected HRESULT_FROM_WIN32(ERROR_PATH_NOT_FOUND)\n", res); ok(res == HRESULT_FROM_WIN32(ERROR_PATH_NOT_FOUND), "res == %08x, expected HRESULT_FROM_WIN32(ERROR_PATH_NOT_FOUND)\n", res);
ok(!file_existsW(UNICODE_PATH), "unicode path was created but shouldn't be\n"); ok(!file_exists(UNICODE_PATH_A), "unicode path was created but shouldn't be\n");
RemoveDirectoryA(UNICODE_PATH_A); RemoveDirectoryA(UNICODE_PATH_A);
/* unicode directory doesn't exist, SHPPFW_DIRCREATE */ /* unicode directory doesn't exist, SHPPFW_DIRCREATE */