Commit 0c5381c6 authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

advapi32/tests: Skip tests modifying HKLM if limited.

parent e87ced67
......@@ -2507,6 +2507,12 @@ static void test_redirection(void)
}
}
if (limited_user)
{
skip("not enough privileges to modify HKLM\n");
return;
}
err = RegCreateKeyExA( HKEY_LOCAL_MACHINE, "Software\\Wine", 0, NULL, 0,
KEY_WOW64_64KEY | KEY_ALL_ACCESS, NULL, &root64, NULL );
ok( err == ERROR_SUCCESS, "RegCreateKeyExA failed: %u\n", err );
......
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