shell32: Remove a test that fails on Win64.
This commit is contained in:
parent
0924ddd2ba
commit
63abc12461
|
@ -693,8 +693,8 @@ static void testWinDir(void)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Verifies the shell path for CSIDL_SYSTEM and CSIDL_SYSTEMX86 matches the
|
/* Verifies the shell path for CSIDL_SYSTEM matches the return from
|
||||||
* return from GetSystemDirectory. If SHGetSpecialFolderPath fails, no harm,
|
* GetSystemDirectory. If SHGetSpecialFolderPath fails, no harm,
|
||||||
* no foul--not every shell32 version supports CSIDL_SYSTEM.
|
* no foul--not every shell32 version supports CSIDL_SYSTEM.
|
||||||
*/
|
*/
|
||||||
static void testSystemDir(void)
|
static void testSystemDir(void)
|
||||||
|
@ -712,16 +712,10 @@ static void testSystemDir(void)
|
||||||
"GetSystemDirectory returns %s SHGetSpecialFolderPath returns %s\n",
|
"GetSystemDirectory returns %s SHGetSpecialFolderPath returns %s\n",
|
||||||
systemDir, systemShellPath);
|
systemDir, systemShellPath);
|
||||||
}
|
}
|
||||||
/* check CSIDL_SYSTEMX86; note that this isn't always present, so don't
|
/* CSIDL_SYSTEMX86 isn't checked in the same way, since it's different
|
||||||
* worry if it fails
|
* on Win64 (and non-x86 Windows systems, if there are any still in
|
||||||
|
* existence) than on Win32.
|
||||||
*/
|
*/
|
||||||
if (pSHGetSpecialFolderPathA(NULL, systemShellPath, CSIDL_SYSTEMX86, FALSE))
|
|
||||||
{
|
|
||||||
myPathRemoveBackslashA(systemShellPath);
|
|
||||||
ok(!lstrcmpiA(systemDir, systemShellPath),
|
|
||||||
"GetSystemDirectory returns %s SHGetSpecialFolderPath returns %s\n",
|
|
||||||
systemDir, systemShellPath);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Globals used by subprocesses */
|
/* Globals used by subprocesses */
|
||||||
|
|
Loading…
Reference in New Issue