kernel: Check for an exe which is always present in a system dir.
This commit is contained in:
parent
0f6cb8860f
commit
f1c3191b2c
|
@ -1448,7 +1448,7 @@ static void test_OpenFile_exists(void)
|
|||
HFILE hFile;
|
||||
OFSTRUCT ofs;
|
||||
|
||||
static const char *file = "\\winver.exe";
|
||||
static const char *file = "\\regsvr32.exe";
|
||||
char buff[MAX_PATH];
|
||||
UINT length;
|
||||
|
||||
|
@ -1456,7 +1456,7 @@ static void test_OpenFile_exists(void)
|
|||
|
||||
if ((length + lstrlen(file) < MAX_PATH))
|
||||
{
|
||||
lstrcat(buff, file);
|
||||
lstrcatA(buff, file);
|
||||
|
||||
hFile = OpenFile(buff, &ofs, OF_EXIST);
|
||||
ok( hFile == TRUE, "%s not found : %ld\n", buff, GetLastError());
|
||||
|
|
Loading…
Reference in New Issue