msi: Remove two tests that depend on the sort order of RegEnumValue.

This commit is contained in:
James Hawkins 2007-12-07 14:49:11 -06:00 committed by Alexandre Julliard
parent c5d63b5535
commit 2634d86a08
1 changed files with 0 additions and 18 deletions

View File

@ -1434,15 +1434,6 @@ static void test_MsiGetProductCode(void)
res = RegSetValueExA(compkey, prod2_squashed, 0, REG_SZ, (const BYTE *)"C:\\another", 10);
ok(res == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", res);
/* another product value exists */
lstrcpyA(product, "prod");
r = MsiGetProductCodeA(component, product);
todo_wine
{
ok(r == ERROR_INSTALL_FAILURE, "Expected ERROR_INSTALL_FAILURE, got %d\n", r);
ok(!lstrcmpA(product, prodcode2), "Expected %s, got %s\n", prodcode2, product);
}
lstrcpyA(keypath, "Software\\Microsoft\\Windows\\CurrentVersion\\");
lstrcatA(keypath, "Installer\\Managed\\");
lstrcatA(keypath, usersid);
@ -1556,15 +1547,6 @@ static void test_MsiGetProductCode(void)
res = RegSetValueExA(compkey, prod2_squashed, 0, REG_SZ, (const BYTE *)"C:\\another", 10);
ok(res == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", res);
/* another product value exists */
lstrcpyA(product, "prod");
r = MsiGetProductCodeA(component, product);
todo_wine
{
ok(r == ERROR_INSTALL_FAILURE, "Expected ERROR_INSTALL_FAILURE, got %d\n", r);
ok(!lstrcmpA(product, prodcode2), "Expected %s, got %s\n", prodcode2, product);
}
lstrcpyA(keypath, "Software\\Microsoft\\Windows\\CurrentVersion\\");
lstrcatA(keypath, "Installer\\Managed\\");
lstrcatA(keypath, usersid);