Paul Vriens : kernel32/tests: Use a file that is available on all platforms .
Alexandre Julliard
julliard at winehq.org
Tue Aug 26 07:06:39 CDT 2008
Module: wine
Branch: master
Commit: ac07480fab24861467f80320cce9b34059198018
URL: http://source.winehq.org/git/wine.git/?a=commit;h=ac07480fab24861467f80320cce9b34059198018
Author: Paul Vriens <paul.vriens.wine at gmail.com>
Date: Mon Aug 25 17:22:44 2008 +0200
kernel32/tests: Use a file that is available on all platforms.
---
dlls/kernel32/tests/file.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/kernel32/tests/file.c b/dlls/kernel32/tests/file.c
index 3502e83..5b8b00d 100644
--- a/dlls/kernel32/tests/file.c
+++ b/dlls/kernel32/tests/file.c
@@ -1667,7 +1667,7 @@ static void test_OpenFile(void)
BOOL ret;
DWORD retval;
- static const char *file = "\\regsvr32.exe";
+ static const char *file = "\\regedit.exe";
static const char *foo = ".\\foo-bar-foo.baz";
static const char *foo_too_long = ".\\foo-bar-foo.baz+++++++++++++++"
"+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++"
@@ -1682,7 +1682,7 @@ static void test_OpenFile(void)
UINT length;
/* Check for existing file */
- length = GetSystemDirectoryA(buff, MAX_PATH);
+ length = GetWindowsDirectoryA(buff, MAX_PATH);
if (length + lstrlen(file) < MAX_PATH)
{
More information about the wine-cvs
mailing list