Commit 752bb66b authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

kernel32/tests: Skip some tests if not allowed to modify the image file execution options.

parent 405c3ef4
......@@ -724,6 +724,11 @@ static void test_debug_heap( const char *argv0, DWORD flags )
if (!strcmp( keyname + strlen(keyname) - 3, ".so" )) keyname[strlen(keyname) - 3] = 0;
err = RegCreateKeyA( HKEY_LOCAL_MACHINE, keyname, &hkey );
if (err == ERROR_ACCESS_DENIED)
{
skip("Not authorized to change the image file execution options\n");
return;
}
ok( !err, "failed to create '%s' error %u\n", keyname, err );
if (err) return;
......
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