msi/tests: Skip some tests on Win9x/WinMe.
This commit is contained in:
parent
46bba98bdf
commit
35df8f2d69
@ -6767,6 +6767,12 @@ static void test_file_in_use(void)
|
|||||||
HKEY hkey;
|
HKEY hkey;
|
||||||
char path[MAX_PATH];
|
char path[MAX_PATH];
|
||||||
|
|
||||||
|
if (on_win9x)
|
||||||
|
{
|
||||||
|
win_skip("Pending file renaming is implemented differently on Win9x and WinMe\n");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
RegOpenKeyExA(HKEY_LOCAL_MACHINE, session_manager, 0, KEY_ALL_ACCESS, &hkey);
|
RegOpenKeyExA(HKEY_LOCAL_MACHINE, session_manager, 0, KEY_ALL_ACCESS, &hkey);
|
||||||
if (!RegQueryValueExA(hkey, rename_ops, NULL, NULL, NULL, &size))
|
if (!RegQueryValueExA(hkey, rename_ops, NULL, NULL, NULL, &size))
|
||||||
{
|
{
|
||||||
@ -6814,6 +6820,12 @@ static void test_file_in_use_cab(void)
|
|||||||
HKEY hkey;
|
HKEY hkey;
|
||||||
char path[MAX_PATH];
|
char path[MAX_PATH];
|
||||||
|
|
||||||
|
if (on_win9x)
|
||||||
|
{
|
||||||
|
win_skip("Pending file renaming is implemented differently on Win9x and WinMe\n");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
RegOpenKeyExA(HKEY_LOCAL_MACHINE, session_manager, 0, KEY_ALL_ACCESS, &hkey);
|
RegOpenKeyExA(HKEY_LOCAL_MACHINE, session_manager, 0, KEY_ALL_ACCESS, &hkey);
|
||||||
if (!RegQueryValueExA(hkey, rename_ops, NULL, NULL, NULL, &size))
|
if (!RegQueryValueExA(hkey, rename_ops, NULL, NULL, NULL, &size))
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user