kernel32/tests: Use a file that is available on all platforms.
This commit is contained in:
parent
920c1fc77a
commit
ac07480fab
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue