msi/tests: Skip some tests on Win9x/WinMe.

This commit is contained in:
Paul Vriens 2009-10-02 09:56:09 +02:00 committed by Alexandre Julliard
parent 46bba98bdf
commit 35df8f2d69
1 changed files with 12 additions and 0 deletions

View File

@ -6767,6 +6767,12 @@ static void test_file_in_use(void)
HKEY hkey;
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);
if (!RegQueryValueExA(hkey, rename_ops, NULL, NULL, NULL, &size))
{
@ -6814,6 +6820,12 @@ static void test_file_in_use_cab(void)
HKEY hkey;
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);
if (!RegQueryValueExA(hkey, rename_ops, NULL, NULL, NULL, &size))
{