Commit 2634d86a authored by James Hawkins's avatar James Hawkins Committed by Alexandre Julliard

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

parent c5d63b55
...@@ -1434,15 +1434,6 @@ static void test_MsiGetProductCode(void) ...@@ -1434,15 +1434,6 @@ static void test_MsiGetProductCode(void)
res = RegSetValueExA(compkey, prod2_squashed, 0, REG_SZ, (const BYTE *)"C:\\another", 10); res = RegSetValueExA(compkey, prod2_squashed, 0, REG_SZ, (const BYTE *)"C:\\another", 10);
ok(res == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", res); 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\\"); lstrcpyA(keypath, "Software\\Microsoft\\Windows\\CurrentVersion\\");
lstrcatA(keypath, "Installer\\Managed\\"); lstrcatA(keypath, "Installer\\Managed\\");
lstrcatA(keypath, usersid); lstrcatA(keypath, usersid);
...@@ -1556,15 +1547,6 @@ static void test_MsiGetProductCode(void) ...@@ -1556,15 +1547,6 @@ static void test_MsiGetProductCode(void)
res = RegSetValueExA(compkey, prod2_squashed, 0, REG_SZ, (const BYTE *)"C:\\another", 10); res = RegSetValueExA(compkey, prod2_squashed, 0, REG_SZ, (const BYTE *)"C:\\another", 10);
ok(res == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", res); 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\\"); lstrcpyA(keypath, "Software\\Microsoft\\Windows\\CurrentVersion\\");
lstrcatA(keypath, "Installer\\Managed\\"); lstrcatA(keypath, "Installer\\Managed\\");
lstrcatA(keypath, usersid); lstrcatA(keypath, usersid);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment