kernel32/tests: Use a file that is available on all platforms.

This commit is contained in:
Paul Vriens 2008-08-25 17:22:44 +02:00 committed by Alexandre Julliard
parent 920c1fc77a
commit ac07480fab
1 changed files with 2 additions and 2 deletions

View File

@ -1667,7 +1667,7 @@ static void test_OpenFile(void)
BOOL ret; BOOL ret;
DWORD retval; 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 = ".\\foo-bar-foo.baz";
static const char *foo_too_long = ".\\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; UINT length;
/* Check for existing file */ /* Check for existing file */
length = GetSystemDirectoryA(buff, MAX_PATH); length = GetWindowsDirectoryA(buff, MAX_PATH);
if (length + lstrlen(file) < MAX_PATH) if (length + lstrlen(file) < MAX_PATH)
{ {