Don't make the test key volatile, that can break other tests.

This commit is contained in:
Alexandre Julliard 2005-01-27 11:15:00 +00:00
parent ed04d36b5d
commit d6df8f5675
1 changed files with 1 additions and 2 deletions

View File

@ -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)