Don't make the test key volatile, that can break other tests.
This commit is contained in:
parent
ed04d36b5d
commit
d6df8f5675
|
@ -56,8 +56,7 @@ static void setup_main_key(void)
|
||||||
{
|
{
|
||||||
if (RegOpenKeyA( HKEY_CURRENT_USER, "Software\\Wine\\Test", &hkey_main )) delete_key( hkey_main );
|
if (RegOpenKeyA( HKEY_CURRENT_USER, "Software\\Wine\\Test", &hkey_main )) delete_key( hkey_main );
|
||||||
|
|
||||||
assert (!RegCreateKeyExA( HKEY_CURRENT_USER, "Software\\Wine\\Test", 0, NULL,
|
assert (!RegCreateKeyA( HKEY_CURRENT_USER, "Software\\Wine\\Test", &hkey_main ));
|
||||||
REG_OPTION_VOLATILE, KEY_ALL_ACCESS, NULL, &hkey_main, NULL ));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void create_test_entries(void)
|
static void create_test_entries(void)
|
||||||
|
|
Loading…
Reference in New Issue