mirror of
https://github.com/reactos/wine.git
synced 2025-01-26 05:54:34 +00:00
msi: Remove two tests that depend on the sort order of RegEnumValue.
This commit is contained in:
parent
c5d63b5535
commit
2634d86a08
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user