Paul Vriens : shell32/tests: Fix remaining failures on WinMe.
Alexandre Julliard
julliard at winehq.org
Fri Oct 9 09:24:12 CDT 2009
Module: wine
Branch: master
Commit: 856be7c9a71e3da91c0b6ea737ab5a2412dc3bbf
URL: http://source.winehq.org/git/wine.git/?a=commit;h=856be7c9a71e3da91c0b6ea737ab5a2412dc3bbf
Author: Paul Vriens <Paul.Vriens.Wine at gmail.com>
Date: Fri Oct 9 08:50:55 2009 +0200
shell32/tests: Fix remaining failures on WinMe.
---
dlls/shell32/tests/shlfileop.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dlls/shell32/tests/shlfileop.c b/dlls/shell32/tests/shlfileop.c
index 14fe7cf..cbd6025 100644
--- a/dlls/shell32/tests/shlfileop.c
+++ b/dlls/shell32/tests/shlfileop.c
@@ -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);
/* unicode directory doesn't exist, SHPPFW_NONE */
+ RemoveDirectoryA(UNICODE_PATH_A);
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(!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);
/* unicode directory doesn't exist, SHPPFW_DIRCREATE */
More information about the wine-cvs
mailing list