kernel: Check for an exe which is always present in a system dir.

This commit is contained in:
Saulius Krasuckas 2006-06-21 01:05:15 +03:00 committed by Alexandre Julliard
parent 0f6cb8860f
commit f1c3191b2c
1 changed files with 2 additions and 2 deletions

View File

@ -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());